Skip to content
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

feat: add %splitstr_regex builtin function #1731

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

The-Lum
Copy link
Collaborator

@The-Lum The-Lum commented Apr 9, 2024

Hi all,

From this request:

Here is a PR, with:

  • adding test for SplitStr
  • adding new SplitStrRegex builtin function
  • adding test for SplitStrRegex

To allow:
%splitstrregex("FooBar", "(?=[A-Z])") -> ["Foo","Bar"]

For the namming...:

  • Perhaps on the future... to rename to simply %split...
    And:
  • See to keep or not the old SplitStr and %splitstr...

Ack. & Ref.:

Regards,
Th.

@arnaudroques arnaudroques merged commit f862254 into plantuml:master Apr 9, 2024
9 checks passed
@The-Lum The-Lum changed the title feat: add %splitstrregex builtin function feat: add %splitstr_regex builtin function May 26, 2024
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.

2 participants