(I'd link to it, but Perlmonks' link syntax does not play nicely with fragments that contain square brackets.)
Here’s what I do: copy-and-paste the link from the browser’s address bar:
http://perldoc.perl.org/perlfaq4.html#How-can-I-split-a-%5bcharacter%5 +d-delimited-string-except-when-inside-%5bcharacter%5d%3f
apply a few edits:
[doc://perlfaq4#How-can-I-split-a-%5bcharacter%5d-delimited-string-exc +ept-when-inside-%5bcharacter%5d%3f]
and voilà: How can I split a [character] delimited string except when inside [character]?
Hope that helps,
| Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
In reply to Re^2: RegEx Perl Newbie Question
by Athanasius
in thread RegEx Perl Newbie Question
by discoTab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |