Skip to content

Instantly share code, notes, and snippets.

@KirillY
Last active August 15, 2022 15:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KirillY/274a32a8b7480fda9f32fb9768854d92 to your computer and use it in GitHub Desktop.
Save KirillY/274a32a8b7480fda9f32fb9768854d92 to your computer and use it in GitHub Desktop.
#python #regex cheatsheet

All paths under framework/oncology/

  • ".+" at least one symbol 1 or more times
framework/oncology/.+\.py

All paths under 2 options with "|" (OR) operator

framework/oncology/.+\.py|tests/saas_dev/onc_alpha_38.+\.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment