good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: Regexp Creationby artist (Parson) |
on Jan 25, 2008 at 19:12 UTC ( [id://664340]=note: print w/replies, xml ) | Need Help?? |
Yes, exactly. You have put very nicely in words. I have few more ways in mind. Based on the guess, it can generate set of numbers that matches the conditions. Example: (1122:2:1) can give the set: x112,1x12,12x2,122x. Later on I can combine the sets( cross product) to see, which combination works good ( instead of generating a possibly complex regexp)
--Artist
In Section
Seekers of Perl Wisdom
|
|