sebfisch / haskell-regexp

Regular Expression Matching in Haskell

Home Page:http://sebfisch.github.com/haskell-regexp/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

character classes and special symbols

sebfisch opened this issue · comments

Extend the parser such that groups of symbols written as [sebf], [h-k], [^abc], and [^h-k] as well as special symbols such as . or \d can be used in regular expressions.

To do so, change of the RegExp data type. The Symbol constructor should take a predicate :: a -> Bool rather than a symbol :: a.

implemented (55a292d).