You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/mnt/ssd/projects/jcubic/lip/node_modules/js2php/core/string.js:119
var regexpData = args[0].raw.match(/^\/([^\/]+)\/([gimy])?$/),
^
TypeError: Cannot read property 'match' of undefined
at split (/mnt/ssd/projects/jcubic/lip/node_modules/js2php/core/string.js:119:34)
at Object.evaluate (/mnt/ssd/projects/jcubic/lip/node_modules/js2php/core.js:26:18)
at visit (/mnt/ssd/projects/jcubic/lip/node_modules/js2php/index.js:235:26)
at visit (/mnt/ssd/projects/jcubic/lip/node_modules/js2php/index.js:196:20)
at visit (/mnt/ssd/projects/jcubic/lip/node_modules/js2php/index.js:269:21)
at visit (/mnt/ssd/projects/jcubic/lip/node_modules/js2php/index.js:196:20)
at visit (/mnt/ssd/projects/jcubic/lip/node_modules/js2php/index.js:269:21)
at visit (/mnt/ssd/projects/jcubic/lip/node_modules/js2php/index.js:196:20)
at visit (/mnt/ssd/projects/jcubic/lip/node_modules/js2php/index.js:182:24)
at visit (/mnt/ssd/projects/jcubic/lip/node_modules/js2php/index.js:52:20)
It may be because of this:
var re = new RegExp("((^|[^\\\\])(?:\\\\\\\\)*)" + quote, "g");
in my code I'm parsing multiline string that may have escaped quotes.
The text was updated successfully, but these errors were encountered:
I've tried to transpile my S-Expression parser to php
But got this error:
It may be because of this:
in my code I'm parsing multiline string that may have escaped quotes.
The text was updated successfully, but these errors were encountered: