Next: , Previous: , Up: Top   [Index]


51 Portable regular expressions for Scheme

The library (vicare pregexp) implements regular expressions parsing modeled on Perl’s, and includes such powerful directives as numeric and non–greedy quantifiers, capturing and non–capturing clustering, POSIX character classes, selective case- and space–insensitivity, backreferences, alternation, backtrack pruning, positive and negative lookahead and lookbehind, in addition to the more basic directives familiar to all regexp users.

The library is based upon the Pregexp package by Dorai Sitaram. It was modified to work with R6RS Scheme implementations and to fit into the Vicare distribution.