Skip to content

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

$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