[plt-scheme] PRegexp issue
On 28/10/2007, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> At Sun, 28 Oct 2007 16:24:37 +0000, "Paulo J. Matos" wrote:
> > > (pregexp-match-positions "[:digit:]" ...
>
> I think you meant
>
> (pregexp-match-positions "[[:digit:]]" ...
>
> That is, "[:digit:]" is a name that you can use in a range, and the
> outer "[" and "]" form a range.
>
> In contrast, "\\d" doesn't have to be used in a range.
>
Oh ok, now I got it! :-)
Thank you
> Matthew
>
>
>
>
--
Paulo Jorge Matos - pocm at soton.ac.uk
http://www.personal.soton.ac.uk/pocm
PhD Student @ ECS
University of Southampton, UK