[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Escaping literal strings

This page is part of the web mail archives of SRFI 115 from before July 7th, 2015. The new archives for SRFI 115 contain all messages, not just those from before July 7th, 2015.

On Wed, Oct 16, 2013 at 7:48 AM, Evan Hanson <evhan@xxxxxxxxxxxxxxx> wrote:
The current proposal doesn't include any way to escape a string for
literal embedding in a regular _expression_ string.

This may be outside the SRFI's scope since one can always just use SREs
instead, but I figure it's worth calling attention to at least once.

Note PCRE syntax is intended for a separate SRFI.  The
API here doesn't allow PCRE strings at all, so such an
escape procedure would have no purpose.