File: failure1.hs

package info (click to toggle)
haskell-pcre-light 0.3.1.1-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 220 kB
  • ctags: 2
  • sloc: haskell: 3,650; 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" [])