- What regex flavor does this tester use?
- This tester uses JavaScript's built-in RegExp engine, which follows the ECMAScript standard. It supports standard regex syntax plus Unicode property escapes (\p{}) with the u flag.
- What do the regex flags mean?
- g = global (find all matches, not just the first), i = case insensitive, m = multiline (^ and $ match line boundaries), s = dotAll (. matches newlines too), u = Unicode mode (enables \p{} property escapes).
- How do I match a literal dot or other special character?
- Escape it with a backslash. For a literal dot: \. For a literal backslash: \\. Special regex characters that need escaping: . * + ? ^ $ { } [ ] | ( ) \
- Why does my regex not find a second match?
- Without the g (global) flag, regex stops after the first match. Enable the g flag to find all occurrences in the test string.