
12 Jun
2006
12 Jun
'06
7:52 p.m.
Brandon Moore wrote:
Going by man grep, those [:foo:] classes are only special inside a character class, otherwise [:space:]* = [aceps:]*.
Prelude Text.Regex> splitRegex (mkRegex "[[:space:]]*,[[:space:]]*") "Haskell, Haskell, and Haskell" ["Haskell","Haskell","and Haskell"]
The smart money was on user error. Thanks.