regexp engine '*' mark working correctly