Tweak Regexp to match image name

The language name should consist of at most 2 words delimited
by a hyphen.