in reply to Re: Capturing everything after an optional character in a regex?
in thread Capturing everything after an optional character in a regex?
Allolex, your piece o' code doesn't really satisfy the needs of Anonymous Monk, he needed to capture the whole line if there is no X.
saouq's code is simply beautiful, maybe someday my code will look like that :)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Capturing everything after an optional character in a regex?
by allolex (Curate) on Dec 04, 2003 at 11:45 UTC | |
by sauoq (Abbot) on Dec 04, 2003 at 21:04 UTC |