Issue 53775 - Poor regex support in replacing
Summary: Poor regex support in replacing
Status: CLOSED DUPLICATE of issue 15666
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOo 1.0.0
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: stefan.baltzer
QA Contact: issues@sw
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2005-08-25 11:08 UTC by camcorder
Modified: 2005-08-25 17:48 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description camcorder 2005-08-25 11:08:56 UTC
Using regex for searching is fine. But it would be alot more powerfull if OO.o
let users to replace using regex. 

Consider you got a stting in your text is like;
<option value='something'>TEXT YOU NEED TO BE STRIPPED</option>

It might be me but I couldn't find regex replace to convert this sttring to
TEXT YOU NEED TO BE STRIPPED


Though it's possible to do a regex search to get TEXT YOU NEED TO BE STRIPPED,
in a Search field. OO.o only let usage of those groups in search value only it
does not carry them to replace value.

The expected behaviour should be using \\1 values in replace string so that you
can easily leave TEXT YOU NEED TO BE STRIPPED alone. 

That's the generic usage in s/// kind of regex lines in either vi and other
regex supporting editors.
Comment 1 michael.ruess 2005-08-25 11:18:48 UTC
Reassigned to SBA.
Comment 2 lohmaier 2005-08-25 17:47:46 UTC
duplicate.

Please take your time to find a more descriptive summary next time.

*** This issue has been marked as a duplicate of 15666 ***
Comment 3 lohmaier 2005-08-25 17:48:36 UTC
closing duplicate.