optany statement
Description
optany(snStore)
The optany statement will match any character that is in the store snStore, or nothing. This statement is only valid on the left side of a rule, not in the key or in the right-hand-side. The index statement is used to match again or output the character (if any) matched by the optany statement in the output.
Examples
optany(chars) + 'a' > index(output,1) 'b'