add logical operator in regex search