rxb.py is a python module that allows for simple definition of regular expresion matching patterns.

I am not a pearl god and am often confused when faced with an expression like [0-9].\/|\.\\\*

with rxb.py you could do the above by asking

pata = label.spam(
	either( 
		(some(num) +exactly("/") ),
		(exactly(".\*"))
		)
		)		
so you sacrifice the simplicity of the code for a more verbose, but perhaps easier to understand, alternative.
I like it.

Log in or register to write something here or to contact authors.