Shared Flashcard Set

Details

Regular Expressions
Characters for regular expressions in Python
10
Other
Post-Graduate
09/08/2019

Additional Other Flashcards

 


 

Cards

Term
Ignores special characters as a string
Definition
r"string"
Term
If we wanted to find GGACC or GGTCC
Definition
GG(A|T)CC or GG[AT]CC
Term
If we wanted to find GG-any character-CC (this can also incorporate errors)
Definition
GG.CC
Term
If we wanted to find GG-anything BUT A or T-CC
Definition
GG[^AT]CC
Term
If we wanted to find GGATCC or GGCC
Definition
GG(AT?)CC
Term
If we wanted to find GG-any number of A's-CC
Definition
GGA+CC
Term
If we wanted to find GGCC or GG-any number of A's-CC
Definition
GGA*CC
Term
If we wanted to find GGAACC, GGAAACC or GGAAAACC
Definition
GGA{2,4}CC
Term
If we wanted to find patterns that start with GG
Definition
^GG
Term
If we wanted to find patterns that end with CC
Definition
CC$
Supporting users have an ad free experience!