Skip to content

Commit

Permalink
fix issue 10798 ctRegex unicode set ops unimplemented
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitryOlshansky committed Apr 23, 2014
1 parent d9e8ada commit 5baa7ca
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions std/regex.d
Original file line number Diff line number Diff line change
Expand Up @@ -7425,6 +7425,15 @@ unittest
assert(match("aaaa", re).hit == "aaaa");
}

//bugzilla 10798
unittest
{
auto cr = ctRegex!("[abcd--c]*");
auto m = "abc".match(cr);
assert(m);
assert(m.hit == "ab");
}

// bugzilla 10913
unittest
{
Expand Down

0 comments on commit 5baa7ca

Please sign in to comment.