std.string.inPattern()

Janice Caron caron800 at googlemail.com
Mon Oct 22 02:22:48 PDT 2007


I noticed in the docs that the pattern parameter to inPattern is
specified as an array of chars, not an array of dchars.

I realise that one can easily be converted to the other, but it leaves
me wondering ... does inPattern() work with non-ASCII characters? Can
I, for example, specify "\u0100-\u0200" as a range and expect it to
work?

Also, it's not clear how to match a minus sign.



More information about the Digitalmars-d mailing list