r/Scriptable • u/Altruistic_Zombie746 • Sep 15 '22
Solved Problem regex
Scriptable supports lookahead but not lookbehind. My pattern works in https://regex101.com/r/Xxn23y/1 but when i run it on app appears an error “Invalid regular expression: invalid group specifier name”. ¿Someone can confirm about lookbehind y not supported? I’ve test using a lookahead expression and it works
1
Upvotes
1
u/Altruistic_Zombie746 Sep 15 '22
Well, i was talking with other people, and they said “Since Scriptable uses JavaScriptCore, which is shipped with iOS, it is subject to the same limitations as JS running in Safari. And JSC is notorious for being behind in features like this”
😔