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

Replace Regexper with Regulex #21

Open
shreyasminocha opened this issue May 3, 2020 · 6 comments
Open

Replace Regexper with Regulex #21

shreyasminocha opened this issue May 3, 2020 · 6 comments

Comments

@shreyasminocha
Copy link
Owner

As suggested by @vezycash in #10.

@shreyasminocha
Copy link
Owner Author

I tried doing this, but I'm having some trouble with getting Regulex to recognize flags in query parameters. When I click the link to the Regulex for say /#([0-9A-F]{3}|[0-9A-F]{6})/g, it doesn't recognize the g flag until I manually check the checkbox.

I'm blocked on this.

@vezycash
Copy link

vezycash commented May 5, 2020

You're right. I'm looking into it.

@vezycash
Copy link

vezycash commented May 5, 2020

I've filed an issue on the problem. CJex/regulex#46

Hopefully it's fixed asap.

@vezycash
Copy link

vezycash commented May 5, 2020

Untitled

Although the /g flag is stripped from the url, I noticed it still shows up on the page - like in the picture. What do you think?

@vezycash
Copy link

vezycash commented May 5, 2020

One last thing
Capture

Please check if typing the flags as part of the regex code like in the picture works. I don't know enough about regex to test it myself.

https://jex.im/regulex/#!flags=&re=%23(%5B0-9A-F%5D%7B3%7D%7C%5B0-9A-F%5D%7B6%7D)%2Fg

@shreyasminocha
Copy link
Owner Author

shreyasminocha commented May 5, 2020

Although the /g flag is stripped from the url, I noticed it still shows up on the page - like in the picture. What do you think?

Yeah, I noticed that. It's very odd and I have no idea what might be up.

Please check if typing the flags as part of the regex code like in the picture works.

It does not, unfortunately. It looks for the literal string /g, rather than interpreting it as a flag.

I've filed an issue on the problem. CJex/regulex#46

Thanks, I'll subscribe to it.

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

No branches or pull requests

2 participants