And since we're in this code anyways, it might be worthwhile to extract the regular expression to a constant and convert this to an `if` statement instead of a short circuit operator.