Regex | condition passes