refactor: Enforce arrayRef regex & Handling and XML Spacing Rules#3900
Open
refactor: Enforce arrayRef regex & Handling and XML Spacing Rules#3900
Conversation
herve-gross
approved these changes
Nov 24, 2025
MelReyCG
requested changes
Nov 28, 2025
Contributor
MelReyCG
left a comment
There was a problem hiding this comment.
need a few more work on unit tests
MelReyCG
requested changes
Dec 5, 2025
MelReyCG
requested changes
Dec 29, 2025
MelReyCG
requested changes
Dec 29, 2025
MelReyCG
requested changes
Feb 5, 2026
Contributor
MelReyCG
left a comment
There was a problem hiding this comment.
please address last comment
dkachuma
approved these changes
Feb 5, 2026
Comment on lines
170
to
+171
| string_view const strDesc = "Input value must be a string that cannot be empty, contain any whitespaces nor the characters , { }"; | ||
| string_view const strRegex = "[^,\\{\\}\\s]+\\s*"; | ||
| string_view const strRegex = "\\s*[^,\\{\\}\\s]+\\s*"; |
Contributor
There was a problem hiding this comment.
Is this now out of sync with the message above? Do we now allow leading spaces?
Contributor
Author
There was a problem hiding this comment.
The test now authorize to have spaces to write smth like :
someAttributes="{ 0.0, 1.0, 10.0, 100.0 }"
coordinates=" { 0.0, 1.0, 10.0, 100.0 }"
Contributor
There was a problem hiding this comment.
@dkachuma It is a proposal indeed. Do not hesitate to tell if you see any issue.
MelReyCG
approved these changes
Feb 6, 2026
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.
To reference an array of groups aka
groupNameRefArray, we ensure we have to writeattribute="{*}".We cannot longer write for example :
attribute="*"Also allow to have spaces spaces before and after a value in an attribute :