After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 332549 - Search and Search&Replace have a problem with the "\" backslash
Search and Search&Replace have a problem with the "\" backslash
Status: RESOLVED DUPLICATE of bug 328637
Product: gedit
Classification: Applications
Component: general
2.13.x
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
: 346538 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-02-25 15:34 UTC by Sebastien Bacher
Modified: 2006-07-04 20:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastien Bacher 2006-02-25 15:34:01 UTC
That bug has been described on https://launchpad.net/distros/ubuntu/+source/gedit/+bug/32490

"If I have a string like this in a file (reg file from wine by example) : "C:\\mozilla\\bin\\mozctl.dll", I have to write "C:\\\\mozilla" (with four slash) to find the good string"
Comment 1 Paolo Borelli 2006-02-25 15:51:16 UTC
This is not a real bug, it's a design decision: '\' needs to be escaped as '\\' so that we can use \n and \t to search multiline strigs.

The bug is that when selcting text and pressing ctrl+F the text should be escaped automatically.

*** This bug has been marked as a duplicate of 328637 ***
Comment 2 Sebastien Bacher 2006-02-25 17:59:42 UTC
Makes sense, sorry for the dup :)
Comment 3 Steve Frécinaux 2006-07-04 18:38:54 UTC
*** Bug 346538 has been marked as a duplicate of this bug. ***
Comment 4 Radu-Cristian Fotescu 2006-07-04 19:55:16 UTC
Paolo, may I have the opinion that this is _not_a design decision?

It would be so if the it were about this scenario:
"if you want to and replace \t, write them in the dialog box as \\t, for not taking the for tabs".

But the scenario is this:
"if you select a text containing \t, the search and replace dialog box shows automatically the selected text with \t instead of \\t".

This is a behavioral bug. The select and replace dialog should replace in the selected text \ with \\ before displaying!
Comment 5 Radu-Cristian Fotescu 2006-07-04 20:18:09 UTC
Sorry for the previous comment, I wanted to join the opinion that the bug is really "when selecting text and pressing ctrl+F the text should be escaped automatically."