Fix issue 11839

Allow digits in std.regex named capture identifier. As usual it may not _start_ with digit.