Perl-Sensitive Sunglasses | |
PerlMonks |
Re^2: Regex error when [] occurs in file..by why_bird (Pilgrim) |
on Mar 03, 2008 at 16:03 UTC ( [id://671670]=note: print w/replies, xml ) | Need Help?? |
Thanks both---I didn't realise that $' was treated like that. Are all 'special variables' ($&, $N (N is integer)) expanded in that way too? So if you did something like:
would you match rather than ? V. interesting---I assumed that special characters inside the rest of the data would be ignored.. Cheers <--edit to make the last sentence make more sense!--> Those are my principles. If you don't like them I have others. -- Groucho Marx .......
In Section
Seekers of Perl Wisdom
|
|