ziishaned / learn-regex

Learn regex the easy way
https://gum.co/learn-regex
MIT License
45.54k stars 6.24k forks source link

Lookarounds are not supported in IOS devices #260

Open liangbus opened 2 years ago

liangbus commented 2 years ago

First, this is a very helpful and awesome document, thanks a lot!! It helps me so many times!

But in these few days, I found a compatible problem in IOS device, both in IOS App (webview) and IOS browser website, it not works as expected, Android device and PC works well.

In IOS, there is no Error message came out, but script stop running as expected, I guess it is wrong in parsing script stage. (I didn't use that RegEx in the page but it fail in initing)

In the end, I use another way to solve the problem, it works, but I thought the document should notice the tips to Users who are learning this. cause it cost a lot of time to find out this bug, crazy..

Lateralus138 commented 2 years ago

I'm not a part of this repo (I do watch it though), but just trying to help.

REGEX works and is implemented differently in all of the many various environments, programs, and languages and not all rules/use cases apply in every environment/language. That would be a lot of extra documentation to try and state all the differences in all the different programming/scripting languages (not to say it's not possible or it won't happen here; I don't know, I'm not part of this project).

IMHO this would not be an issue with this repository, but an issue with your particular environment.

Like I said it'd be a lot of work to try and give tips and state all the differences between all languages, programs (SED and AWK for example), and environments.