We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b01e466 commit 9065d09Copy full SHA for 9065d09
tests/tests2.nim
@@ -2826,6 +2826,12 @@ test "misc5":
2826
check findAllStr(r"ΪⒶ弢ΪⒶ弢x", re2"ΪⒶ弢\w") == @["ΪⒶ弢Ϊ"]
2827
check findAllStr(r"弢弢弢Ⓐ", re2"弢\w") == @["弢弢", "弢Ⓐ"]
2828
check findAllStr(r"1弢2弢3弢4", re2"\w弢\w") == @["1弢2", "3弢4"]
2829
+ check findAllStr(r"abcdefhij", re2"((abc|def)|(hij))") ==
2830
+ @["abc", "def", "hij"]
2831
+ check findAllStr(r"abcdefhij", re2"((abc|def)+|(hij)+)") ==
2832
+ @["abcdef", "hij"]
2833
+ check findAllStr(r"1abc2abc34", re2"\dabc\d\d") == @["2abc34"]
2834
+ check findAllStr(r"1ΪⒶ弢2ΪⒶ弢34", re2"\dΪⒶ弢\d\d") == @["2ΪⒶ弢34"]
2835
2836
test "misc6_sanitycheck":
2837
block:
0 commit comments