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

Regex as a keyword #6

Closed
MKrabs opened this issue Feb 1, 2022 · 6 comments
Closed

Regex as a keyword #6

MKrabs opened this issue Feb 1, 2022 · 6 comments
Labels
enhancement New feature or request

Comments

@MKrabs
Copy link

MKrabs commented Feb 1, 2022

Well.. not much to say, except adding regex capabilities to the keywords.

  • xxCoolName[0-9]+xx
@ConniBug
Copy link
Contributor

ConniBug commented Feb 2, 2022

I honestly think thats already an unintended feature that already exists, as it just takes your input and parses it straght to the RegExp func

const regEx = new RegExp(pii, "ig");

@AidanSpeakss AidanSpeakss added the enhancement New feature or request label Feb 3, 2022
@AidanSpeakss
Copy link
Owner

I think you are right about this, I'll try testing out a bit of regex.

@AidanSpeakss
Copy link
Owner

Yeah, that's hilarious, this is already a feature then. Although I suspect it causes bugs, as there is no distinction between regex and non-regex. I'll add a separate regex field quickly, to solve any problems this may have caused.

@AidanSpeakss
Copy link
Owner

This feature has been added and will be in the 1.7 release.

@ConniBug
Copy link
Contributor

ConniBug commented Feb 3, 2022

Sorry to reopen this, but in additon to what you have already added what about having the abbility to disable/enable the case sensitivity of regex as currently its hard coded?

(cant open the issue again but ik youll see this Aidan!)

@AidanSpeakss
Copy link
Owner

If you create a new issue with that specific suggestion, you can just link back to this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants