Skip to content

Commit

Permalink
run-tests: Add test cases for testing clearmarks.
Browse files Browse the repository at this point in the history
  • Loading branch information
ampli committed Jul 19, 2015
1 parent 1cce743 commit 73c4cac
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions run-tests
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ test_suite = [
("match", r"(\S+)\s+(\D+)", "ABC \thello abc456 abc"),
("match", r"(([0-9]*)([a-z]*)\d*)", "123hello456"),

# classes
("match", r"[a]*", "a"),
("search", r"([yab]*)(e*)([cd])", "xyac"),
("search", r"([yab]*)(e*)([^y]?)$", "xyac"),

# escaped metacharacters
("match", r"(\?:)", ":"),
("match", r"\(?:", "(:"),
Expand Down

0 comments on commit 73c4cac

Please sign in to comment.