Code: Select all
i for PCRE_CASELESS
m for PCRE_MULTILINE
s for PCRE_DOTALL
x for PCRE_EXTENDED
If it should like:# Perl style
qr/a b .*? d/xms
Code: Select all
(regex "^a b+ c .*? d$" "abbc\n\r123d" (+ 2 4 8))
Code: Select all
i for PCRE_CASELESS
m for PCRE_MULTILINE
s for PCRE_DOTALL
x for PCRE_EXTENDED
If it should like:# Perl style
qr/a b .*? d/xms
Code: Select all
(regex "^a b+ c .*? d$" "abbc\n\r123d" (+ 2 4 8))