zeroc-ice / ice

All-in-one solution for creating networked applications with RPC, pub/sub, server deployment, and more.
https://zeroc.com
GNU General Public License v2.0
2k stars 592 forks source link

makeProps JS bug: escape `.` with `\\.` #2319

Closed bernardnormier closed 5 days ago

bernardnormier commented 1 week ago
          Actually, if we want to escape the dot, shouldn't it be `\\.`, otherwise `\.` is just `.`

I guess the best is to create a separate issue, it seems unrelated to the PR.

_Originally posted by @pepone in https://github.com/zeroc-ice/ice/pull/2318#discussion_r1646443754_

pepone commented 1 week ago

for reference:

Welcome to Node.js v22.2.0.
Type ".help" for more information.
> "." == "\."
true
> "." == "\\."
false
> "\."
'.'