Perl: the Markov chain saw | |
PerlMonks |
Re: Matching '=' and other non alphanumeric characters using regular expressionsby blahblahblah (Priest) |
on Dec 13, 2002 at 06:18 UTC ( [id://219510]=note: print w/replies, xml ) | Need Help?? |
In addition to what the others have pointed out, I think you'll need to add an 's' to the end so that you can match across multiple lines, like this:
Also, if you simply want to pick up everything between "DEFINITION " and "ACCESSION", another way to do it without worrying about knowing every possible character is like this:
In Section
Seekers of Perl Wisdom
|
|