Move regex pattern inside function to make it more legible.
Move regex pattern inside function to make it more legible.

Compiled regex gets cached from what I understand.

GeoscienceAustralia/PyRate,GeoscienceAustralia/PyRate