Re: [racket-users] Racket Guide, REs, section 9.5

2018-11-09 Thread Jussi Salmela
Thanks for answering. I was at my wits’ end trying to think how the behavior of 
those two would differ and even tried a couple of experiments, to no avail 
unfortunately.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Racket Guide, REs, section 9.5

2018-11-08 Thread Matthew Flatt
At Tue, 6 Nov 2018 09:53:38 -0800 (PST), Jussi Salmela wrote:
> At the end of section 9.5 there is the sentence:
> 
>The non-greedy quantifiers are respectively: *?, +?, ??, {m}?, {m,n}?. 
> 
> I don't understand what {m}? is supposed to match because {m} means 'match 
> exactly the previous pattern'.

I think you're right that `{m}?` is always the same as `{m}`, and I'll
add a clarification to the Guide.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Racket Guide, REs, section 9.5

2018-11-06 Thread Jussi Salmela
At the end of section 9.5 there is the sentence:

   The non-greedy quantifiers are respectively: *?, +?, ??, {m}?, {m,n}?. 

I don't understand what {m}? is supposed to match because {m} means 'match 
exactly the previous pattern'.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.