Skip to content

:ignoremark is overzealous #276

Open
@alabamenhu

Description

@alabamenhu

When using :ignoremark, all codepoints beyond the first in a grapheme cluster are ignored. This causes problems with clusters whose second codepoints and beyond are not combining marks.

For example, the following two codes produce matches:

"🇩🇪" ~~ /:ignoremark '🇩🇰'/
"ᄼᆡᇫ" ~~ /:m 'ᄼᆢ'/

But logically, they should not.

Metadata

Metadata

Assignees

Labels

unicodeUnicode and encoding/decoding

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions