Skip to content
This repository was archived by the owner on May 23, 2025. It is now read-only.

Replace token value with actual token entered#12

Open
jfelsinger wants to merge 1 commit into
tactivos:masterfrom
jfelsinger:replaceRegexToken
Open

Replace token value with actual token entered#12
jfelsinger wants to merge 1 commit into
tactivos:masterfrom
jfelsinger:replaceRegexToken

Conversation

@jfelsinger
Copy link
Copy Markdown
Contributor

It was observed that the token can contain regex string and it would be detected without problem. However, if one were to use any type of regex syntax in the token string it would replace the actual entered text for that token.

ex:
if the token was '[-=+]' and the user entered any of the values defined by the regex (+, =, or -) the list would come up, as expected, but when a value was chosen the token the the user entered would be replaced with '[-+=]'.

This change extracts the imputed token using the original regex, then it uses that instead.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant