Not Logged In

REfO 0.12

It’s a python library that supplies a functionality very similar to the python
re module (regular expressions) but for arbitrary sequences of objects
instead of strings (sequences of characters).

In addition to that, it’s possible to match each object in a sequence with
not only equality, but an arbitrary python function.
For example, if you have a sequence of integers you can make a regular
expression that asks for a even number followed by a prime number
followed by a 3-divisible number.

This software was written by Rafael Carrascosa while working at Machinalis in
the first months of 2012.