IrRegular Expressions

IrRegex version 0.7.0 is now available here:

A fully portable and efficient R[456]RS implementation of regular expressions, supporting both POSIX syntax with various (irregular) PCRE extensions, as well as SCSH’s SRE syntax, with various aliases for commonly used patterns. DFA matching is used when possible, otherwise a closure-compiled NFA approach is used. The library makes no assumptions about the encoding of strings or range of characters and can thus be used in Unicode-aware Scheme implementations. Matching may be performed over standard Scheme strings, or over arbitrarily chunked streams of strings.

IrRegex is portable between R4RS, R5RS, and R6RS; and almost completely PCRE compatible. Very nice!

(via comp.lang.scheme)

Leave a Reply

Your email address will not be published. Required fields are marked *