Francois Perrad > re-engine-LPEG-0.05 > re::engine::LPEG

Download:
re-engine-LPEG-0.05.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.05   Source  

NAME ^

re::engine::LPEG - LPEG regular expression engine

SYNOPSIS ^

    use re::engine::LPEG;

    if ('Hello, world' =~ m{ ( 'Hello' / 'Hi' ) ', ' { 'world' } });
        print "Greetings, $1!";
    }

DESCRIPTION ^

THIS MODULE IS A FAILURE. THE re-engine INTERFACE IS NOT THE RIGHT WAY TO WRAP LPeg.

Replaces perl's regex engine in a given lexical scope with the LPeg one.

See "Regex syntax for LPEG", on http://www.inf.puc-rio.br/~roberto/lpeg/re.html.

Common Pitfalls

AUTHORS ^

François PERRAD <francois.perrad@gadz.org>

HOMEPAGE ^

The development is hosted at http://code.google.com/p/re-engine-lpeg/.

COPYRIGHT ^

Copyright 2008 François PERRAD.

This program is free software; you can redistribute it and/or modify it under the same terms as Lua & LPeg, see http://www.lua.org/license.html.

syntax highlighting: