social-media-profiles-regexs icon indicating copy to clipboard operation
social-media-profiles-regexs copied to clipboard

[feature request] Javascript Regex

Open shafkathullah opened this issue 3 years ago • 6 comments

JS regex equivalent for all of these be very helpful.

shafkathullah avatar Aug 23 '21 15:08 shafkathullah

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

lorey avatar Aug 24 '21 11:08 lorey

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

shafkathullah avatar Aug 24 '21 14:08 shafkathullah

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

shafkathullah avatar Aug 24 '21 14:08 shafkathullah

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?

lorey avatar Aug 25 '21 14:08 lorey

not sure, might need to try

shafkathullah avatar Aug 26 '21 06:08 shafkathullah

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

shafkathullah avatar Aug 26 '21 06:08 shafkathullah