Issue 15070 - "Find and replace" bug using a wildcard
Summary: "Find and replace" bug using a wildcard
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 Beta2
Hardware: PC Other OS
: P1 (highest) Trivial (vote)
Target Milestone: ---
Assignee: h.ilter
QA Contact: issues@sw
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2003-05-29 15:02 UTC by Unknown
Modified: 2003-09-08 16:56 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 Unknown 2003-05-29 15:02:36 UTC
I type for instance the word Isabug and do Edit/Find and replace/Regular
expressions/Search for        a*g
as said in the help to get "abug". But I only get the final g.
(It does not depend on the word used)
Comment 1 jensja 2003-05-31 03:42:01 UTC
Indeed (g) is the correct result when searching for (a*g) in 'Isabug'
because (a*) means _zero_ or more times _a_. 

Valid results for (a*g) in general would be g, ag, aag, aaag and so on.

If you want to find 'abug' use 'a.*g' instead. This will search for a
string that begins with an 'a' followed by zero or more other chars
and ending with 'g'.
The dot (.) acts as a wildcard for a single char. (like ? in DOS) 
So (.*) in regular expressions has the same meaning as (*) in DOS.

Resolving as invalid.
Comment 2 h.ilter 2003-06-23 14:47:50 UTC
.