in reply to Re^6: RegEx for OpenOffice::OODoc as in $doc->selectElementsByContent()
in thread RegEx for OpenOffice::OODoc as in $doc->selectElementsByContent()
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: RegEx for OpenOffice::OODoc as in $doc->selectElementsByContent()
by AnomalousMonk (Archbishop) on Jun 04, 2016 at 02:36 UTC | |
|
Re^8: RegEx for OpenOffice::OODoc as in $doc->selectElementsByContent()
by EigenFunctions (Beadle) on Jun 04, 2016 at 20:31 UTC |