For placement of the regex switches, see How do I apply switches like /i or /g to a qr regexp?:
/imsx immediately follow the closing delimiter of the qr, but /gce must be supplied at the point of actual use immediately following m// or s///.
Hope that helps,
| Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
In reply to Re^3: Find and extract substring(s) within larger string.
by Athanasius
in thread Find and extract substring(s) within larger string.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |