Bug 158397 - regex search & replace in textarea goes wrong
Summary: regex search & replace in textarea goes wrong
Status: RESOLVED DUPLICATE of bug 168226
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-25 15:32 UTC by Wolfram R. Sieber
Modified: 2010-05-19 01:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfram R. Sieber 2008-02-25 15:32:25 UTC
Version:           3.5.5 (using 3.5.5, Debian Package 4:3.5.5a.dfsg.1-8etch1 (4.0))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.18-6-686

Just as I am used to use regex search & replace in kwrite, kate etc., for a search within the textarea box I entered the regex to find ("= (.+) ="), ticked "[x] regular expression", entered the replace phrase (" \1 "), and ticked "[x] use placeholder".

In kwrite, this settings -- for a snippet of mediawiki markup -- cause the marked up headlines to become one level lighter. Unfortunately, in konqueror's regex search & replace, I get the patterns found, but the replace doesn't work: Everywhere I get a pattern found, the replace is just a plain " \1 ".

And, yes, the "[x] use placeholders" is really ticked.
Comment 1 David Faure 2010-05-19 01:17:04 UTC
Fixed for 4.5.

*** This bug has been marked as a duplicate of bug 168226 ***