Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

split: Add more examples#165

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
gasi wants to merge2 commits intopurescript:master
base:master
Choose a base branch
Loading
fromgasi:patch-1
Open

Conversation

@gasi
Copy link

@gasigasi commentedNov 9, 2022
edited
Loading

Description of the change

This change adds more examples to theString.split function and fixes a typo (occurences → occurrences).


Checklist:

  • Added the change to the changelog's "Unreleased" section with a reference to this PR (e.g. "- Made a change (#0000)")
  • Linked any existing issues or proposals that this pull request should close
  • Updated or added relevant documentation
  • Added a test for the contribution (if applicable)

@gasigasi changed the titleString.split: Improve documentationsplit: Add more examplesNov 9, 2022
@gasigasiforce-pushed thepatch-1 branch 3 times, most recently from3f11d9d tof74f1a0CompareNovember 9, 2022 18:35
- Add more examples- Fix typo
CHANGELOG.md Outdated
Bugfixes:

Other improvements:
-`split` (#165)
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you follow the formatting used in the rest of this changelog (e.g. including your username)?

If you want to provide more details, do something like this

- main entry (#PR by @<name>)  Some more details here  - next main entry...

@michaelficarra
Copy link
Contributor

If you want more examples, you can add

  • adjacent matches:
split (Pattern"b")"abbc" == ["a","","c"]
  • overlapping matches:
split (Pattern"bb")"abbbc" == ["a","bc"]
thomashoneyman reacted with thumbs up emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@JordanMartinezJordanMartinezJordanMartinez left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@gasi@michaelficarra@JordanMartinez@thomashoneyman

[8]ページ先頭

©2009-2025 Movatter.jp