Make locale matching regexp match more locales

Locales can look like:

- en
- es-419
- zh-hk

Make the regexp match more things so all of these are valid.