The specification for "expr" is as specified in the SUS but with the some extra operands supported
same as STRING : REGEXP
substring of STRING, POS counted from 1
index in STRING where any CHARS is found, or 0
length of STRING
interpret TOKEN as a string, even if it is a keyword like match or an operator like /