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 dfd917b commit 5adaf13Copy full SHA for 5adaf13
Tests/RegexTests/UTS18Tests.swift
@@ -403,6 +403,10 @@ extension UTS18Tests {
403
XCTAssertTrue("\u{1F514}".contains(#/\N{BELL}/#))
404
XCTAssertTrue("🐯".contains(#/\N{TIGER FACE}/#))
405
XCTAssertFalse("🐯".contains(#/\N{TIEGR FACE}/#))
406
+
407
+ // Matching semantic level
408
+ XCTAssertFalse("👩👩👧👦".contains(#/.\N{ZERO WIDTH JOINER}/#))
409
+ XCTAssertTrue("👩👩👧👦".contains(#/(?u).\N{ZERO WIDTH JOINER}/#))
410
}
411
412
func testIndividuallyNamedCharacters_XFail() {
0 commit comments