<div><div class="gmail_quote">On Sat, Jun 4, 2011 at 00:04, Eli Barzilay <span dir="ltr"><<a href="mailto:eli@barzilay.org">eli@barzilay.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">Four minutes ago, Rodolfo Carvalho wrote:<br>
> On Fri, Jun 3, 2011 at 23:49, Carl Eastlund <<a href="mailto:cce@ccs.neu.edu">cce@ccs.neu.edu</a>> wrote:<br>
> > The origin of #px is "Perl-compatible regular expression", while<br>
> > #rx are compatible with command-line tools such as egrep.<br>
><br>
> It seems that it's not yet documented. Good to know, now I can<br>
> choose between Perl and power :D<br>
<br>
</div>See the top of <a href="http://docs.racket-lang.org/reference/regexp.html" target="_blank">http://docs.racket-lang.org/reference/regexp.html</a> --<br>
it shows the basic shared syntax, and then there's<br>
<br>
The following completes the grammar for regexp, which treats { and }<br>
as literals, \ as a literal within ranges, and \ as a literal<br>
producer outside of ranges.<br>
<br>
and a bit later<br>
<br>
The following completes the grammar for pregexp, which uses { and }<br>
bounded repetition and uses \ for meta-characters both inside and<br>
outside of ranges.<br>
<br>
These blurbls summarize the difference, and the tables that follow<br>
them specifies the syntax formally.<br><br></blockquote><div><br></div><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8">Yes, I have that open here in another tab.<div>I read that before posting my questions.</div>
<div><br></div><div><br></div><div>What I pointed as "not yet documented" is the nomenclature "Perl-compatible regular expression".</div><div>I just saw #rx, #px, their differences, and well, I even looked at *The Reader*, but I didn't figure out what the p was for...</div>
<div><br></div><div><br></div><div>Thank you all for clarifying my doubts,</div><div><br></div><div>[]'s</div><div><br clear="all">Rodolfo Carvalho</div></div></div></div>