nl_tokens: Determine whether the provided literal is in Hex Notation
pl_tokens: function isHex ( literal ) { let reg = / ^[0-9a-f]+$ / i ; //test for '0x' separately because hex notation should not be a part of the standard RegExp if ( literal . <mask> ( 0 , 2 ) !== "0x" ) { return false ; } return reg . test ( literal . slice ( 2 ) ) ; }