add '-' to symbolAndNumberRegex (#34)

This commit is contained in:
Maxim Postautov
2026-04-01 12:00:00 +08:00
committed by GitHub
parent dc56ec274a
commit f22402d39d

View File

@@ -8,7 +8,7 @@ import {
} from './types'; } from './types';
let _id = 1; let _id = 1;
const symbolAndNumberRegex = RegExp('[^a-z1-6]'); const symbolAndNumberRegex = RegExp('[^a-z1-6\-]');
function genId(): number { function genId(): number {
return _id++; return _id++;