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

Re: repeating patterns

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 Thu, Oct 17, 2013 at 3:25 AM, Michael Montague <mikemon@xxxxxxxxx> wrote:
Why are there not text versions of the repeating patterns? Sequencing is seq or :. Should there be zero-or-once for ? and so on.

Historical reasons.  I'm presuming the original motivation
for seq was because : didn't exist in existing PCRE notation,
whereas *, +, ? etc. are already familiar.

I see no reason not to add readable variants of these though.