Search and Search&Replace have a problem with the "\" backslash

Bug #32490 reported by Yann Papouin
32
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gedit
Fix Released
Wishlist
gedit (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

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

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. i've forwarded it upstream: http://bugzilla.gnome.org/show_bug.cgi?id=332549

Changed in gedit:
assignee: nobody → desktop-bugs
status: Unconfirmed → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Upstream comment:

"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."

Changed in gedit:
status: Unconfirmed → Confirmed
Revision history for this message
Denis Moyogo Jacquerye (moyogo) wrote :

Should there be an option to disable escaping? Or is there a way to make this obvious to people who don’t know about escaping?

Changed in gedit:
status: Confirmed → Triaged
Changed in gedit:
importance: Unknown → Medium
Changed in gedit:
importance: Medium → Wishlist
Changed in gedit:
status: Confirmed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue is fixed/documented in the current version

Changed in gedit (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.