It's not entirely clear to me why I need the surrounding parenthesis
The (?options:pattern) syntax is normally used in a larger regex to apply options to just a part of the whole expression:
/The (?i:internet)/
applies case-insensitivity to just "internet", but not "The"
Most Perl regex options can be used this way.
In reply to Re^7: RegEx for OpenOffice::OODoc as in $doc->selectElementsByContent()
by RonW
in thread RegEx for OpenOffice::OODoc as in $doc->selectElementsByContent()
by EigenFunctions
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |