As was pointed out to me yesterday, you don't need to be a registered republican to vote in the republican primary.  You can also register as Undeclared or Nonpartisan.  With that registration you can vote in either party's primary.  You must be registered as such 30 days before the election.

I plan to register as Undeclared.