I'm trying to hide all stone items and I'm using regex to select them but it's not working.
global.stone = [
[/minecraft:.*(?>!sand|red|drip|glow|grind).*stone(?!cutter)/, /minecraft:.*(granite|diorite|andesite|tuff|calcite)/, /.*deepslate(?!.*ore)/]
]```
It gives me this error when I restart the game:
`dev.latvian.mods.rhino.EcmaError: SyntaxError: Invalid quantifier ?`
(Just to note the code hiding the items work its the code above that errors)