Tiny fix to the conditional regex

Should be @\.@ as in 2.1.3-pre, rather than a wildcard.