Simplify regex test case, fix issue 12394

There is no point in using big character sets as it's not
important for the test case in question.

Big sets put a lot of burden on CTFE/compiler/time-to-compile.