Re: [racket] Is there a symbol in regexp-match syntax, similar to the period but...

2013-05-08 Thread Laurent
I think you're looking for ".*": > (regexp-match "a.*e" "zaijklez") ("aijkle") See: docs.racket-lang.org/guide/regexp.html Laurent On Wed, May 8, 2013 at 6:06 PM, Don Green wrote: > Is there a symbol in regexp-match syntax, similar to the period but... a > representation for all the charact

Re: [racket] Is there a symbol in regexp-match syntax, similar to the period but...

2013-05-08 Thread Norman Gray
Don, hello. On 2013 May 8, at 17:06, Don Green wrote: > The ___ below represents the pattern and all the remaining characters in > the string to the right of the pattern 'x': > > (regexp-match #rx"x___" "12x4x6") ; => '("x4x6") > > > I realize I could place a period for each character I want

[racket] Is there a symbol in regexp-match syntax, similar to the period but...

2013-05-08 Thread Don Green
Is there a symbol in regexp-match syntax, similar to the period but... a representation for all the characters to one side of the pattern? For example, the period below represents the pattern and a single character to the right of the pattern 'x': (regexp-match #rx"x." "12x4x6") ; => '("x4") Th