Test for a regexp literal.
Added a constructor from a RE2 object with a test.