Skip to content

Add support for non-ASCII characters (IRIs) in URL detection - #7

Open
tectiv3 wants to merge 1 commit into
textmate:masterfrom
tectiv3:fix-regex
Open

tectiv3 wants to merge 1 commit into
textmate:masterfrom
tectiv3:fix-regex

Conversation

@tectiv3

@tectiv3 tectiv3 commented Jul 18, 2026

Copy link
Copy Markdown

The URL character class was ASCII-only, causing detection to stop at the first non-ASCII byte (e.g. umlauts in https://…/wiki/München). Add \x{00A0}-\x{10FFFF} to match all Unicode codepoints valid in IRIs per RFC 3987.

tectiv3/textmate/issues/11

The URL character class was ASCII-only, causing detection to stop at
the first non-ASCII byte (e.g. umlauts in https://…/wiki/München).
Add \x{00A0}-\x{10FFFF} to match all Unicode codepoints valid in IRIs
per RFC 3987.

tectiv3/textmate/issues/11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant