Issue 50043 - how to replace by a part of a search creterion: regular expressions
Summary: how to replace by a part of a search creterion: regular expressions
Status: CLOSED DUPLICATE of issue 15666
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: 680m104
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2005-05-30 13:39 UTC by bigserpent
Modified: 2005-05-30 14:18 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 bigserpent 2005-05-30 13:39:22 UTC
There is some exported spreadsheet with numbers, preceding with space. Some
spaces also divide thousands, even it's not written in their format.
The combination of space and digit can by find via
([:space:][:digit:])
But trying to replace the combination with the same digit fails. The [:digit:]
in replacement string is considered as the text "[:digit:]". The & is considered
as the whole search criterion. Trying to mark a part of search criterion with
()\1 failed.

Is it possible to make a replacement with part of the search criterion? If no,
it's a shortage of OO regular expressions (enhancement). If yes, it's not
covered in the help (bug).
Comment 1 lohmaier 2005-05-30 14:18:04 UTC
duplicate.

*** This issue has been marked as a duplicate of 15666 ***
Comment 2 lohmaier 2005-05-30 14:18:39 UTC
closing duplicate.