Improved some regex
This commit is contained in:
parent
50fb4798b7
commit
d3353231c8
1 changed files with 2 additions and 2 deletions
|
|
@ -3,8 +3,8 @@ const variableRegex = /^[a-zA-Z_\-][a-zA-Z0-9_\-]*/;
|
|||
const errorRegex = /^\<.+?\>/;
|
||||
const referenceRegex = /^0x[0-9a-fA-F]+/;
|
||||
const nullpointerRegex = /^0x0+\b/;
|
||||
const charRegex = /^([0-9]+) ['"]/;
|
||||
const numberRegex = /^[0-9]+/;
|
||||
const charRegex = /^(\d+) ['"]/;
|
||||
const numberRegex = /^\d+/;
|
||||
const pointerCombineChar = ".";
|
||||
|
||||
export function isExpandable(value: string): number {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue