--- Oleg Kobchenko <[EMAIL PROTECTED]> wrote:
> It's been probably to put there to test if you are following.
> It obviously by definition not doing what supposed.
>
> --- Brian Schott <[EMAIL PROTECTED]> wrote:
>
> > I have been appreciating both of the regex labs
> > which seem to clarify several notions.
> >
> >
> > In "Regular Expressions Builder" I was surprised by
> > the following result because there is a blank response to
> > both setchars examples.
> >
> > -- (13 of 34) Regular Expression Construction (ctd) ---------
> > Finally, the setchars verb takes a pattern containing a
> > single set as an argument and returns all elements of a.
> > which are contained in that set:
> > )
> > setchars Alpha
> >
> >
> > setchars '[a-m[:digit:]]'
> >
Spoiler alert! Fix follows.
It's Unicode
setchars=: (rxE # ])&(96{.32}.a.)
setchars '[a-c[:digit:]]'
0123456789abc
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search.
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm