| d | Generate indices for substring matches. (hasIndices) | d | (not portable) |
| g | Global search. (global) | g | (not portable) |
| i | Case-insensitive search. (ignoreCase) | i | (not portable) |
| m | Allows ^ and $ to match next to newline characters. (multiline) | m | (not portable) |
| s | Allows . to match newline characters. (dotAll) | s | (not portable) |
| u | "Unicode"; treat a pattern as a sequence of Unicode code points. (unicode) | u | (not portable) |
| v | An upgrade to the u mode with more Unicode features. (unicodeSets) | v | (not portable) |
| y | Perform a "sticky" search that matches starting at the current position in the target string. (sticky) | y | (not portable) |