Jahirul Islam
Jahirul Islam
JS simply ignores `\` in `\.` and returns the string as `.` only. So, should the escape character be `\\`?
I did some tests considering `\\` as the escape character Changed the regexes in the following lines https://github.com/sindresorhus/pupa/blob/c9eb13489ebd9dd9e5f0e24c0b64c9f6eb1013dd/index.js#L41 https://github.com/sindresorhus/pupa/blob/c9eb13489ebd9dd9e5f0e24c0b64c9f6eb1013dd/index.js#L47 to ``` - {{(\d+|[a-z$_][\w$]*?(?:\.[\w$]*?)*?)}} + {{(\d+|[a-z$_][\w$]*?(?:\\?\.[\w$]*?)*?)}} ``` Replaced https://github.com/sindresorhus/pupa/blob/c9eb13489ebd9dd9e5f0e24c0b64c9f6eb1013dd/index.js#L22-L24 with ```js...
Hi, I would like to work on it. I can see that the char map is already added. What issues are remaining for this task?
Is this a recent development? I use zsh on my work mac which doesn't have this issue. But I face this issue in my personal mac. Also if I type...