Do you know where your variables are? | |
PerlMonks |
Re: simple regExby Corion (Patriarch) |
on Nov 09, 2005 at 14:22 UTC ( [id://507078]=note: print w/replies, xml ) | Need Help?? |
Your use of \Q...\E is too general - it also escapes the parentheses you wanted to use for capturing and your wildcards. Try it with:
Update: After looking through wws analysis and seeing that my code doesn't work - you also need the /s switch to make . match newlines, as your string contrains newlines:
In Section
Seekers of Perl Wisdom
|
|