Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[String] Update wcswidth data with Unicode 15.1 #51645

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 14, 2023

Conversation

fancyweb
Copy link
Contributor

Q A
Branch? 5.4
Bug fix? no
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

Ref #47789

@@ -46,7 +46,7 @@ private function writeWideWidthData(): void

$version = $matches[1];

if (!preg_match_all('/^([A-H\d]{4,})(?:\.\.([A-H\d]{4,}))?;[W|F]/m', $content, $matches, \PREG_SET_ORDER)) {
if (!preg_match_all('/^([A-H\d]{4,})(?:\.\.([A-H\d]{4,}))? +; [W|F]/m', $content, $matches, \PREG_SET_ORDER)) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The output format slightly changed so I adapted the regex

@nicolas-grekas
Copy link
Member

Thank you @fancyweb.

@nicolas-grekas nicolas-grekas merged commit b0cc72d into symfony:5.4 Sep 14, 2023
@fancyweb fancyweb deleted the string/unicode-data branch September 14, 2023 08:38
This was referenced Sep 30, 2023
nicolas-grekas added a commit that referenced this pull request Sep 11, 2024
This PR was merged into the 5.4 branch.

Discussion
----------

[String] Update wcswidth data with Unicode 16

| Q             | A
| ------------- | ---
| Branch?       | 5.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Issues        | -
| License       | MIT

Ref #51645

Commits
-------

e1795f9 [String] Update wcswidth data with Unicode 16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants