Last active
January 30, 2023 05:00
-
-
Save dichharai/11823e359cda9e972f910058967111e0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Long Flag | Short Flag | Meaning | |
---|---|---|---|
ASCII | A | Makes several escapes like \w \b \s \d match only on ASCII characters. | |
DOTALL | S | Make . match any character including newlines. | |
IGNORECASE | I | Do case-insensitive matches. | |
LOCALE | L | Do a locale-aware match. | |
MULTILINE | M | Multi-line matching affecting ^ and $. | |
VERBOSE | X (for 'extended') | Enable verbose REs which can be organized more cleanly and understandably. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment