in reply to Re: Re: Capturing everything after an optional character in a regex?
in thread Capturing everything after an optional character in a regex?
Of course there is the issue now of counting capturing parens.
That's what the /x modifier is there to help for.
----
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: Re: Re: Re: Capturing everything after an optional character in a regex?
by davido (Cardinal) on Dec 04, 2003 at 23:09 UTC | |
by sauoq (Abbot) on Dec 05, 2003 at 02:46 UTC | |
by hardburn (Abbot) on Dec 05, 2003 at 14:41 UTC | |
by davido (Cardinal) on Dec 05, 2003 at 16:44 UTC | |
by hardburn (Abbot) on Dec 05, 2003 at 17:29 UTC |