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

repeating patterns and ...



Scheme already has one way of specifying repeating patterns: ... How about using similar syntax for regular expressions?

(* <sre>) would change to (<sre> ...)

The general case of (** <from> <to> <sre>) could change to (<sre> ... <from> <to>)

or to (<sre> (... <from> <to>))

(? <sre>) changes to (<sre> ... 0 1) or to (<sre> (... 0 1))
(+ <sre>) changes to (<sre> ... 1) or to (<sre> (... 1))

Michael.