exclude 'or' keyword from judgement logic of regex option