Merge branch 'MShwed-feature/hex-support-percent-delimiter'
This commit is contained in:
commit
a44418c6a1
2 files changed
+3
-1
No files matched your search
@@ -1023,6 +1023,7 @@ class Utils {
|
|||||||
static charRep(token) {
|
static charRep(token) {
|
||||||
return {
|
return {
|
||||||
"Space": " ",
|
"Space": " ",
|
||||||
|
"Percent": "%",
|
||||||
"Comma": ",",
|
"Comma": ",",
|
||||||
"Semi-colon": ";",
|
"Semi-colon": ";",
|
||||||
"Colon": ":",
|
"Colon": ":",
|
||||||
@@ -1047,6 +1048,7 @@ class Utils {
|
|||||||
static regexRep(token) {
|
static regexRep(token) {
|
||||||
return {
|
return {
|
||||||
"Space": /\s+/g,
|
"Space": /\s+/g,
|
||||||
|
"Percent": /%/g,
|
||||||
"Comma": /,/g,
|
"Comma": /,/g,
|
||||||
"Semi-colon": /;/g,
|
"Semi-colon": /;/g,
|
||||||
"Colon": /:/g,
|
"Colon": /:/g,
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ export function fromHex(data, delim="Auto", byteLen=2) {
|
|||||||
/**
|
/**
|
||||||
* To Hexadecimal delimiters.
|
* To Hexadecimal delimiters.
|
||||||
*/
|
*/
|
||||||
export const TO_HEX_DELIM_OPTIONS = ["Space", "Comma", "Semi-colon", "Colon", "Line feed", "CRLF", "0x", "\\x", "None"];
|
export const TO_HEX_DELIM_OPTIONS = ["Space", "Percent", "Comma", "Semi-colon", "Colon", "Line feed", "CRLF", "0x", "\\x", "None"];
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user