add non-capturing parenthesis in regular expression