Open shafkathullah opened 3 years ago
What specifically do you mean? Can you give some examples, please?
These regex only works in Python, most of them are having Python specific syntax, I would love to see JavaScript version too.
stuff like <> syntax would break on ECMA regex spec.
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?
not sure, might need to try
nonetheless, it be great if a JS version is available ready to use!
JS regex equivalent for all of these be very helpful.