Change compare type from REG_EXP to ANT