Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Question on REGEXPby Anonymous Monk |
on Mar 10, 2014 at 14:06 UTC ( [id://1077687]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks, I wanted to ask a question regarding pattern matching. My problem is that I seem to be unable to match special characters, like | for example. So, in my script that I am trying to match some IDS, like 1QJ8:A|PDBID|CHAIN, if I try to say:
I get no matches (the ID exists though). Do I need to put something in the regexp? Thank you!
Back to
Seekers of Perl Wisdom
|
|