[pypy-dev] Regex for RPython

Carl Friedrich Bolz cfbolz at gmx.de
Thu Mar 10 10:01:24 CET 2011


On 03/09/2011 11:30 PM, Timothy Baldridge wrote:
> I know rlib has a regex module, but it seems to be limited to only
> recognizing characters and not returning groups. Is there a full
> featured regex parser somewhere that is supported by rpython?

Are you just interested in the parser or also in a way to do regex 
matching? For the parser we indeed use the stdlib version, for the 
matching there is an RPython implementation taking as input the 
bytecodes that the stdlib regex parser produces.

Cheers,

Carl Friedrich



More information about the Pypy-dev mailing list