Conversions: Moving guard and matches regex out of the sub so it's more obviously static