|
|
| Don't ask to ask, just ask | |
| PerlMonks |
Re: Strange regular expression warningby delirium (Chaplain) |
| on Jul 15, 2004 at 11:23 UTC ( [id://374684]=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.
I'll comment on the regex: If you are interested in how the filename ends, you don't need to worry about how it starts. Try using: /\.ORD_API_log$/ ...which doesn't root the match to the beginning of the string (and explicitly looks for a period before the extension).
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||