Skip to content

Simplify#287

Open
jefleponot wants to merge 2 commits intoSeleniumBuilder:masterfrom
jefleponot:simplify
Open

Simplify#287
jefleponot wants to merge 2 commits intoSeleniumBuilder:masterfrom
jefleponot:simplify

Conversation

@jefleponot
Copy link

It's easiest to use a regular expression to match ${param} , isn't it :-)

text.replace(/${(\w+)}/g, function(match, varName) {

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.

1 participant