Swift Regex
β
Pattern
Builder DSL
Regular Expression
g
lobal
Don't return after first match
m
ultiline
^ and $ match the start/end of line
case
i
nsensitive
Case insensitive match
s
ingle line
Dot matches newline
ASCII only word
Match only ASCII characters as word characters
ASCII only digit
Match only ASCII characters as digits
ASCII only space
Match only ASCII characters as space characters
ASCII only POSIX properties
Match only ASCII characters when matching character classes
Test String
no match
Builder DSL
Builder DSL
Test String
no match
Match Information