Inverse Regex Library?
Inverse Regex Library?
- Subject: Inverse Regex Library?
- From: Philip Mötteli <email@hidden>
- Date: Thu, 17 Jul 2008 16:09:16 +0200
Hi,
Does anybody know of a library, that takes a bunch of strings and
produces a regex-string from them?
E. g:
"Word1"
"Word2"
"Word5"
"Word8"
"Word11"
"Word19"
"Word23"
"Word45"
"Word77"
should give "Word[0-9]{1,2}". Or I would even be more happy with
"Word[0-9]+".
I've heard of Grail+. But are there any other options?
Thanks
Phil
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden