|
|
| We don't bite newbies here... much | |
| PerlMonks |
Re^2: A Quick Regex Questionby Nkuvu (Priest) |
| on Oct 09, 2006 at 17:46 UTC ( [id://577274]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
That was my first thought also, but I'm not positive that the original poster meant this. Instead of p or e or r or l, I thought that the requirement was p and e and r and l (in any order). So I would expect that "orange" wouldn't be a valid match, given that it doesn't contain 'p' and 'l'. The given character class does, of course, match "orange" just fine.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||