FAQ
Which regex flavor is used?
JavaScript (ECMAScript) regular expressions, the same as in browsers and Node.js. Most syntax is shared with Python, Java and PCRE, but lookbehind and named-group syntax can differ slightly.
What do the flags mean?
g global (all matches), i ignore case, m multiline (^ and $ per line), s dot matches newline, u unicode, y sticky.