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

Re: regexp and valid-sre?

This page is part of the web mail archives of SRFI 115 from before July 7th, 2015. The new archives for SRFI 115 are here. Eventually, the entire history will be moved there, including any new messages.



Michael Montague scripsit:

> I propose dropping the requirement that 'regexp' can be called with
> an already compiled <re>. It provides no additional functionality
> and it makes the specification of 'regexp' less clear.

It provides the ability to compile repeatedly used parts of regular
expressions.  In a context where a large number of regular expressions
are in use that have factors in common, this can save a good deal of
time and possibly space.

-- 
Long-short-short, long-short-short / Dactyls in dimeter,     John Cowan
Verse form with choriambs / (Masculine rhyme):           cowan@xxxxxxxx
One sentence (two stanzas) / Hexasyllabically
Challenges poets who / Don't have the time.     --robison who's at texas dot net