add regex/iregex support