Re: Regular Expression Generator
- From: Ted Zlatanov <tzz@xxxxxxxxxxxx>
- Date: Mon, 26 Jun 2006 14:52:48 -0400
On 26 Jun 2006, jeremyje@xxxxxxxxx wrote:
Is there a library or a way to generate an appropriate regular
expression for any given input string?
(remove quotes for examples)
For example: "1234567890abcdef is in hex9"
Regex Generator returns: [0-9|A-F]{16} [a-z]{2} [a-z]{2} [0-9|a-z]{3}
Or anything that does some sort of similar processing?
I only know of this one:
http://search.cpan.org/~dankogai/Regexp-Optimizer-0.15/lib/Regexp/Optimizer.pm
Emacs also has a regexp-opt function you may find interesting (as an
alternate approach in a different language).
Ted
.
- References:
- Regular Expression Generator
- From: jeremyje@xxxxxxxxx
- Regular Expression Generator
- Prev by Date: Regular Expression Generator
- Next by Date: How to log the output of Mime::Lite ?
- Previous by thread: Regular Expression Generator
- Next by thread: How to log the output of Mime::Lite ?
- Index(es):
Relevant Pages
|
|