int option of regexp
Posted: Wed May 14, 2014 7:01 am
As the manual said:
If I want use all this option together, How to write code?
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))