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

@W-14371508 fix: JS Substitute function to replace all matches #140

Merged

Conversation

ashwanikmr121
Copy link
Contributor

@ashwanikmr121 ashwanikmr121 commented Mar 13, 2024

  1. Fixed Substitute function to replace all matching keywords
  2. Use replaceAll instead of replace in getJavaScript()
  3. Aligned the implementation with formula and sql based executors
  4. Added test cases.

@ashwanikmr121 ashwanikmr121 changed the title @W-14371508 fix: JS Substitute to replace all matches @W-14371508 fix: JS Substitute function to replace all matches Mar 13, 2024
@ashwanikmr121 ashwanikmr121 self-assigned this Mar 13, 2024
Copy link
Collaborator

@aditya-jain3 aditya-jain3 left a comment

Choose a reason for hiding this comment

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

LGTM

@ashwanikmr121 ashwanikmr121 merged commit 31db44d into salesforce:main Mar 13, 2024
2 checks passed
@ashwanikmr121 ashwanikmr121 deleted the ashwani-fix-substitute-js branch March 15, 2024 06:55
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.

3 participants