If you like that, you could play with Mathematica. It has a poweful pattern-matching engine that works with any kind of data, like lists of lists of etc, not only strings. (From version 5.1, it also has a separate regexp matcher for strings only.)
In reply to Re^2: Representing all data as Lists (Perl7?)
by ambrus
in thread Representing all data as Lists (Perl7?)
by rje
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |