Flavors


PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.Net (C#)
Rust

Expressions

/g Test
Explanation:

m modifier: multi line. Causes ^ and $ to match the begin/end of each line (not only begin/end of string)

g modifier: global. All matches (don't return after first match)

i modifier: insensitive. Case insensitive match (ignores case of [a-zA-Z])

s modifier: single line. Dot matches newline characters

u modifier: unicode. Pattern strings are treated as UTF-16. Also causes escape sequences to match unicode characters

Matched Details:
Regular Expressions