Skip to content

Conversation

@kamgastephane
Copy link

Quick updates to allow the updates of all occurrences of a variable

Quick updates to allow the updates of all occurrences of a variable
@kamgastephane
Copy link
Author

kamgastephane commented Oct 7, 2021 via email

@michaelbaumberger
Copy link

As far as I remember, i think the replaceAll was not available as a function due to the ES version used.

On 7 Oct 2021, at 04:16, Michael Baumberger @.***> wrote: Could you just use result = result.replaceAll(key, value) instead of the regex? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#5 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRJJYKLATCDGQHJ2UV66MDUFT7HRANCNFSM4XGWUAYQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You're right. I discovered that for myself which is why I deleted my comment :)

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.

2 participants