Non capturing parenthesis in regexp causes seg fault.