Improved some regex

This commit is contained in:
WebFreak001 2016-03-10 13:02:23 +01:00
commit d3353231c8

View file

@ -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 {