Unless you come up with a language that maps one-to-one to Perl regex, your users are going to be surprised from time to time by your implementation.
Wouldn't it be better to have them use a subset of Perl regex directly?
You could define what this subset is, and let Perl do all of the heavy lifting.
-QM
--
Quantum Mechanics: The dreams stuff is made of
In reply to Re: generate regular expression
by QM
in thread generate regular expression
by khoueiry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |