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

[feature request] Javascript Regex #25

Open
shafkathullah opened this issue Aug 23, 2021 · 6 comments
Open

[feature request] Javascript Regex #25

shafkathullah opened this issue Aug 23, 2021 · 6 comments

Comments

@shafkathullah
Copy link

JS regex equivalent for all of these be very helpful.

@lorey
Copy link
Owner

lorey commented Aug 24, 2021

What specifically do you mean? Can you give some examples, please?

@shafkathullah
Copy link
Author

These regex only works in Python, most of them are having Python specific syntax, I would love to see JavaScript version too.

@shafkathullah
Copy link
Author

stuff like <> syntax would break on ECMA regex spec.

@lorey
Copy link
Owner

lorey commented Aug 25, 2021

So, if I got that right named capturing groups in JS have a different syntax, but in the end you would just need to delete the P after ? as in ?P<test> vs ?<test>, right?

@shafkathullah
Copy link
Author

not sure, might need to try

@shafkathullah
Copy link
Author

nonetheless, it be great if a JS version is available ready to use!

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