in reply to Fun Regex Exercise
/me tries to figure out how to do a spoiler in web-space...
Spoiler follows!...
or, if I can use backreferences (wasn't clear if grouping meant _only_ grouping):
/^(1[01]*1|0[01]*0)$/
/^([01])[01]*\1$/
-dlc
|
---|
Replies are listed 'Best First'. | |
---|---|
How to present spoilers :-)
by tilly (Archbishop) on Oct 26, 2000 at 05:43 UTC | |
by crazyinsomniac (Prior) on Feb 21, 2001 at 08:22 UTC | |
by merlyn (Sage) on Oct 26, 2000 at 07:56 UTC | |
by puck (Scribe) on Oct 26, 2000 at 08:46 UTC | |
by demerphq (Chancellor) on May 18, 2005 at 14:17 UTC | |
RE: RE: Fun Regex Exercise
by japhy (Canon) on Oct 25, 2000 at 16:44 UTC |
In Section
Meditations