-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Shell
-
None
-
Environment:mongo shell running under cygwin, although that shouldn't affect this
-
Fully Compatible
-
ALL
Tried the following in the mongo shell
> use foo
switched to db foo
> db.f.save(
);
> db.f.save(
);
> db.f.find();
>
The handling of backslashes within strings does not seem to be consistent. The first example removes some of them without doing anything to the following characters. The second example fails to use "
" as an escape for '\'.
- is duplicated by
-
SERVER-26536 Regex containing an escaped | pipe symbol are not handled correctly
- Closed