I've been looking for something like this. I even understand most of it. But could you (or someone) please explain why ($substring) needs to be in brackets? I've looked in perlre, perlrequick and perlretut and can't see this construct, although it's always possible that it's there & I've missed it.
Regards,
John Davies
In reply to Re^2: Substring consisting of all the characters until "character X"?
by davies
in thread Substring consisting of all the characters until "character X"?
by TheMartianGeek
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |