Re: Regex niceties for the parser (was Re: To get things started...)
[email protected] (Jarkko Hietaniemi) Mon, 27 Nov 2000 13:25:17 -0600
| Newsgroups | perl.perl6.internals.api.parser |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Nov 27, 2000 at 01:29:27PM -0500, Rocco Caputo wrote:
> Text::Trie is an amazing little module. I've abused it in a macro processing
> source filter to build optimum regexps out of lists of tokens.
<plug style="shameless"> Have you tried out Regex::PreSuf? </plug>
I tried making a monster regexp out of /usr/dict/words. It worked.
> I've attached a proof-of-concept/benchmark program using the interesting bits
> from POE::Preprocessor to build, test, and time regexps. Results of a sample
> run are included after __END__.
--
$jhi++; # http://www.iki.fi/jhi/
# There is this special biologist word we use for 'stable'.
# It is 'dead'. -- Jack Cohen