add '-' to symbolAndNumberRegex (#34)
This commit is contained in:
@@ -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++;
|
||||||
|
|||||||
Reference in New Issue
Block a user