File: failure1.hs

package info (click to toggle)
haskell-pcre-light 0.4-6
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 220 kB
  • ctags: 2
  • sloc: haskell: 3,615; makefile: 10; 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" [])