add '-' to symbolAndNumberRegex (#34)

This commit is contained in:
Maxim Postautov
2020-06-06 16:14:09 +03:00
committed by GitHub
parent c14242e932
commit 341b1858b9

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++;