You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suspect a regexp will never be 100% reliable, but it can probably be sufficiently reliable. 100% reliability would probably require doing proper parsing instead of regexp matching.
Activity
BridgeAR commentedon Sep 26, 2019
@XhmikosR would you be fine to open a PR to fix this? I think that would be ideal :-)
XhmikosR commentedon Sep 26, 2019
It's tricky so I was hoping someone else could tackle this :)
Otherwise I'll try to find a solution.
XhmikosR commentedon Sep 26, 2019
I've come up with this but I'm not sure if it's the best solution...
https://regex101.com/r/t90Tqw/2
Trott commentedon Sep 27, 2019
I suspect a regexp will never be 100% reliable, but it can probably be sufficiently reliable. 100% reliability would probably require doing proper parsing instead of regexp matching.
XhmikosR commentedon Sep 27, 2019
I don't think my regex is good. I'll see if I can improve it and make a PR.
XhmikosR commentedon Sep 27, 2019
Unfortunately, the project doesn't work on Windows, so I can't do a lot.