in reply to Re^2: Reverse regexp a regexp?
in thread Reverse regexp a regexp?
Reread what Roboticus said. Your first example could just as easily have been http://www.youtube.com/user/test[1-5] and your second could have been http://(u[sk]|be)\.apple.itunes.com/blabla/blabla/id/(\d*)5(\d+).
How do you make the choices? Once you can answer those questions, you'll be able to make some progress towards what you want.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Reverse regexp a regexp? (by an algorithm?)
by freakingwildchild (Scribe) on Feb 13, 2010 at 22:56 UTC |