An "/e" will cause the replacement portion to be treated as a full-fledge Perl expression and evaluated right then and there.
An "||" Logical "OR" if the left expression true, then right is never evaluated.
I think I got a handle on it now. Thanks for the pointers and making me do the homework ;-)
In reply to Re: Re: Regular expression question
by TASdvlper
in thread Regular expression question
by TASdvlper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |