Discontinue use of ~R sigil
Remove all uses of the ~R sigil in the code because it is deprecated, and removed in Elixir 1.16.
The only places where these ~R regular expressions were used can be easily replaced with the ~r sigil.
Manually building the documentation with “mix docs” shows no adverse side-effect by this change.