in reply to Re: regex needed with match operator
in thread regex needed with match operator
Perhaps better as:
m!/([^/]+)/foo$!Advantages:
----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
Note: All code is untested, unless otherwise stated
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: regex needed with match operator (forbidden chars in filenames)
by Aristotle (Chancellor) on Apr 28, 2003 at 18:57 UTC | |
by diotalevi (Canon) on Apr 28, 2003 at 19:14 UTC | |
by Aristotle (Chancellor) on Apr 28, 2003 at 19:59 UTC | |
by pfaut (Priest) on Apr 28, 2003 at 20:33 UTC |