8 ms·
I'm going to do some lisp, this is exciting: By Googling, as well emacs lisp, I just now found a regex engine for common lisp: CL-PPCRE - Portable Perl-compat
by e3pi 13y ago
I'm going to do some lisp, this is exciting:
By Googling, as well emacs lisp, I just now found a regex engine for common lisp:
CL-PPCRE - Portable Perl-compatible regular expressions for Common Lisp
Abstract
CL-PPCRE is a portable regular expression library for Common Lisp which has the following features:
It is compatible with Perl.
It is pretty fast.
It is portable between ANSI-compliant Common Lisp implementations.
It is thread-safe.
In addition to specifying regular expressions as strings like in Perl you can also use S-expressions.
It comes with a BSD-style license so you can basically do with it whatever you want.
CL-PPCRE has been used successfully in various applications like BioBike, clutu, LoGS, CafeSpot, Eboy, or The Regex Coach.
http://weitz.de/cl-ppcre http://weitz.de/cl-ppcre