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

Add a API doc examples for split operation in lang.regexp with used keywords #9544

Open
SasinduDilshara opened this issue Oct 11, 2024 · 2 comments
Labels
Area/APIDocs Type/Improvement Improvements required on the website.

Comments

@SasinduDilshara
Copy link
Contributor

We need to add a sample like following the lang.regexp API docs.

string:RegExp r = re `\|`;
r.split("abc|cde|efg") ⇒ ["abc","cde","efg"]
@SasinduDilshara SasinduDilshara added Type/Improvement Improvements required on the website. Area/APIDocs labels Oct 11, 2024
@SasinduDilshara
Copy link
Contributor Author

This issue is based on the requirement from a external user.

@MaryamZi
Copy link
Member

If this is an API doc example, the change needs to happen in ballerina-lang. Let's move the issue if so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area/APIDocs Type/Improvement Improvements required on the website.
Projects
None yet
Development

No branches or pull requests

2 participants