Slightly optimized the regex for gt, gte etc

gte is now actually supported for example, first it only supported gt.