in reply to Re^4: Help with a regular expression for file name parsing
in thread Help with a regular expression for file name parsing
Question: What should SOME EXPRESSION be, so that if SOME STRING is...
Such a regular expression cannot exist, not in an if block
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)
In short, you want a function that does the job
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Help with a regular expression for file name parsing
by bontchev (Sexton) on Dec 09, 2011 at 08:08 UTC |