Skip to content

Instantly share code, notes, and snippets.

@masak
Created December 20, 2009 23:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save masak/260687 to your computer and use it in GitHub Desktop.
Save masak/260687 to your computer and use it in GitHub Desktop.
$ ./test-regex 'xa*' xaaaay
Concat[
Literal ('x')
Quant[
Literal ('a')
]
]
Literal matching "xaaaa": MATCH
Literal matching "aaaay": MATCH
Literal matching "aaay«": MATCH
Literal matching "aay«E": MATCH
Literal matching "ay«EN": MATCH
Literal matching "y«END": FAIL
Quant matching "y«END": MATCH
Concat matching "y«END": MATCH
RxContainer matching "y«END": MATCH
<xaaaa @ 0>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment