Repository navigation
Refactor RFC3986 regexps to make more readable - #46
Merged
Merged
Conversation
nobu
force-pushed
the
uri-regexps
branch
3 times, most recently
from
June 3, 2023 11:25
2f4ea58 to
6efa00b
Compare
nurse
approved these changes
Jun 13, 2023
jinroq
added a commit
to jinroq/uri
that referenced
this pull request
Nov 24, 2026
idna_data.rb held the IDNA Mapping Table and the other Unicode data of IDNA, 332KB. The status and the mapping of each code point are now derived as UTS ruby#46 section 6 describes, from what Ruby has: NFKC and case folding for NFKC_Casefold, and the character properties for the base valid set. Marks and viramas come from Ruby as well, so idna_data.rb now holds only the Bidi_Class and Joining_Type values that the Bidi Rule and CONTEXTJ need, 17KB. Bidi_Class L, the class of most valid code points, is no longer listed. For every code point that the running Ruby knows, from Ruby 2.5 (Unicode 10.0) to 4.1 (Unicode 17.0), the derived status and mapping are those of IdnaMappingTable.txt 18.0. A code point added since the Unicode version of Ruby is unassigned, so disallowed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.