-
Notifications
You must be signed in to change notification settings - Fork 945
Rework strings split_helper utility for better reuse #18575
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
Rework strings split_helper utility for better reuse #18575
Conversation
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
/ok to test |
/ok to test |
/ok to test |
/ok to test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't fully understand where you're going with this, but I can see how you might use the flexibility of the templated delimiter for further implementations and the current implementations make sense to me. It seems like mostly code moving around in this PR so I don't see any issues.
Right. The delimiter function is factored out to handle logic for other delimiters (e.g. whitespace, single chars, etc) appropriately in follow on PRs. |
/merge |
Description
Part of the strings split refactor work. This change reworks the
split_helper
internal utility for better reuse with split-on-whitespace and tokenizers (follow on work).Checklist