I’m trying to use the regexp class described in the squirrel standard library documentation, under Chapter 6, The String Library:
Naively, I’m assuming that this is accessible as a global symbol, hence
local ex = regexp("[0-9]");
should compile and run. However, I get a runtime error:
ERROR: the index ‘regexp’ does not exist
I hope that I’m not just being dumb, but anyone have any advice?