{"id":17028100,"url":"https://github.com/rampaa/unicoderangetoutf16compliantregex","last_synced_at":"2025-03-22T19:43:49.617Z","repository":{"id":213969419,"uuid":"735379451","full_name":"rampaa/UnicodeRangeToUtf16CompliantRegex","owner":"rampaa","description":"Non-Basic Multilingual Plane Regex Ranges to UTF-16 Compliant Regex","archived":false,"fork":false,"pushed_at":"2023-12-24T20:20:57.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-27T23:43:18.902Z","etag":null,"topics":["regex","regex-pattern","regexp","supplementary-plane","surrogate-pairs","unicode","utf-16"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rampaa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-24T17:46:13.000Z","updated_at":"2024-01-06T15:52:04.000Z","dependencies_parsed_at":"2023-12-24T20:15:48.309Z","dependency_job_id":null,"html_url":"https://github.com/rampaa/UnicodeRangeToUtf16CompliantRegex","commit_stats":null,"previous_names":["rampaa/unicoderangetoutf16compliantregex"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rampaa%2FUnicodeRangeToUtf16CompliantRegex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rampaa%2FUnicodeRangeToUtf16CompliantRegex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rampaa%2FUnicodeRangeToUtf16CompliantRegex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rampaa%2FUnicodeRangeToUtf16CompliantRegex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rampaa","download_url":"https://codeload.github.com/rampaa/UnicodeRangeToUtf16CompliantRegex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245013961,"owners_count":20547177,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["regex","regex-pattern","regexp","supplementary-plane","surrogate-pairs","unicode","utf-16"],"created_at":"2024-10-14T07:52:14.488Z","updated_at":"2025-03-22T19:43:49.577Z","avatar_url":"https://github.com/rampaa.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"Some programming languages that use UTF-16 for strings face problems with unicode ranges not found in [Basic Multilingual Plane](https://en.wikipedia.org/wiki/Plane_(Unicode)#Basic_Multilingual_Plane) (e.g., [CJK Unified Ideographs Extension B](https://en.wikipedia.org/wiki/CJK_Unified_Ideographs_Extension_B)) while matching those characters with using RegEx (see: https://github.com/dotnet/runtime/issues/79865). This program converts unsupported unicode range RegExes into UTF-16 compliant RegExes. For example, `[\\U00020000-\\U0002A6DF]` will be converted into `\\uD840[\\uDC00-\\uDFFF]|[\\uD841-\\uD868][\\uDC00-\\uDFFF]|\\uD869[\\uDC00-\\uDEDF]`.\n\nThe code is basically taken from https://stackoverflow.com/a/47627127 with some small modifications. This repo solely exists for the sake of convenience.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frampaa%2Funicoderangetoutf16compliantregex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frampaa%2Funicoderangetoutf16compliantregex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frampaa%2Funicoderangetoutf16compliantregex/lists"}