[plt-scheme] PRegexp issue

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sun Oct 28 12:33:46 EDT 2007

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.

Matthew



Posted on the users mailing list.