We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 669826a commit 430f107Copy full SHA for 430f107
lib/textParsers.js
@@ -130,8 +130,8 @@ var parseByteA = function(val) {
130
out += val[i]
131
++i
132
}else{
133
- if(val.substring(i+1, i+4).match(/([0-7]){3}/)){
134
- out += String.fromCharCode(parseInt(val.substring(i+1,i+4),8))
+ if(val.substr(i+1,3).match(/[0-7]{3}/)){
+ out += String.fromCharCode(parseInt(val.substr(i+1,3),8))
135
i += 4
136
137
backslashes = 1
0 commit comments