[feature] Adding blank check to regex patterns.