File: failure1.hs

package info (click to toggle)
haskell-pcre-light 0.3.1-5
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 200 kB
  • ctags: 6
  • sloc: haskell: 3,650; makefile: 77; sh: 5
file content (5 lines) | stat: -rw-r--r-- 166 bytes parent folder | download | duplicates (4)
1
2
3
4
5
import Text.Regex.PCRE.Light.Char8

main = do
    let r = compile "(a|)*\\d" []
    print (match r "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" [])