Match flags with the way they change the behavior of your pattern.
Regexp flags in Python
Flags and their functions
Report a typo
Match the items from left and right columns
re.IGNORECASEre.DOTALLre.VERBOSEre.MULTILINEre.ASCIIMakes the dot metacharacter match a newline.
Matches only ASCII characters.
Performs case-insensitive matching.
Allows you to add comments to your regular expressions.
Allows
^ and $ to match over several lines. ___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.