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.
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to