Skip to content

Commit

Permalink
testpy.py: Add more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
k-takata committed Oct 29, 2016
1 parent a039dc3 commit 2cb0bec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions testpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -1095,6 +1095,8 @@ def warn_func(str):
x2("[\\h]+ [\\H]+", " 0123456789aBcDeF gh", 1, 20)
x2("\\A(|.|(?:(.)\\g<1>\\k<2+0>))\\z", "reer", 0, 4)
x2("\\A(?<a>|.|(?:(?<b>.)\\g<a>\\k<b+0>))\\z", "reer", 0, 4)
x2("(?i)\\A(|.|(?:(.)\\g<1>\\k<2+0>))\\z", "reER", 0, 4)
x2("(?i)\\A(?<a>|.|(?:(?<b>.)\\g<a>\\k<b+0>))\\z", "REer", 0, 4)
x2(''' # Extended pattern
(?<element> \g<stag> \g<content>* \g<etag> ){0}
(?<stag> < \g<name> \s* > ){0}
Expand Down

0 comments on commit 2cb0bec

Please sign in to comment.