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 BBE for Regex match operations #5678

Merged
merged 7 commits into from
Oct 28, 2024

Conversation

poorna2152
Copy link
Contributor

@poorna2152 poorna2152 changed the title Regex match Add BBE for Regex match operations Sep 26, 2024
@@ -0,0 +1,12 @@
# RegExp operations

The `RegExp` type include a set of langlib functions for matching patterns in strings, enabling operations to find, validate, group, and extract data based on regular expressions.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
The `RegExp` type include a set of langlib functions for matching patterns in strings, enabling operations to find, validate, group, and extract data based on regular expressions.
The `RegExp` type support a set of langlib functions to match patterns in strings and enable operations such as finding, validating, grouping, and extracting data based on regular expressions.

Double check grouping?

Copy link
Member

Choose a reason for hiding this comment

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

Also lang library vs langlib doesn't seem to be consistent across BBEs?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Grouping is supported by match fullMatchGroups matchGroupsAt operations right?

@poorna2152 poorna2152 requested a review from MaryamZi October 24, 2024 07:51
Copy link

sonarcloud bot commented Oct 28, 2024

@gimantha gimantha added this pull request to the merge queue Oct 28, 2024
Merged via the queue into ballerina-platform:master with commit b1abe2a Oct 28, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants