• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Unicode word boundaries know about Unicode characters.
2 // For ASCII word boundaries, the tests are precisely inverted.
3 matiter!(unicode1, r"\bx\b", "áxβ");
4 matiter!(unicode2, r"\Bx\B", "áxβ", (2, 3));
5 
6 matiter!(ascii1, r"(?-u:\b)x(?-u:\b)", "áxβ", (2, 3));
7