|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re^6: Help with a regular expression for file name parsingby bontchev (Sexton) |
| on Dec 09, 2011 at 08:08 UTC ( #942588=note: print w/ replies, xml ) | Need Help?? |
|
Such a regular expression cannot exist, not in an if block OK, understood. I'll have to do it in two or more steps, then. You can match the filename portion (for which you already got a regex that works), but you have to remove the quotes and escapes afterwards (using s///|substitution operator) OK, that's what I'll do, although just removing the backslashes seems too primitive to me. I'll try to find a better solution.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||