P
Peter Makholm
For a project I have to implement lookup using NAPTR records from
DNS. Basicaly the consist of an substitution using POSIX ERE
syntax. (See RFC 3403).
Parsing the regexp to perl with minor corrections would probably solve
my problem in maost of the well behaved cases. But what about the not
so well behaved cases?
Is there an easy way to sanitize a regular expression such that it
is safe to run? Or should I write a full translation from ERE to perl?
Searhing CPAN doesn't ive me anything usefull.
Any other ideas?
//Makholm
DNS. Basicaly the consist of an substitution using POSIX ERE
syntax. (See RFC 3403).
Parsing the regexp to perl with minor corrections would probably solve
my problem in maost of the well behaved cases. But what about the not
so well behaved cases?
Is there an easy way to sanitize a regular expression such that it
is safe to run? Or should I write a full translation from ERE to perl?
Searhing CPAN doesn't ive me anything usefull.
Any other ideas?
//Makholm