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