Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | RegEx: Allow less greedy regular expressions | ||
---|---|---|---|
Product: | General | Reporter: | erpel <che> |
Component: | ui | Assignee: | AOO issues mailing list <issues> |
Status: | CLOSED OBSOLETE | QA Contact: | |
Severity: | Trivial | ||
Priority: | P4 | CC: | hanya.runo, issues, obermueller |
Version: | OOo 2.0 Beta | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
erpel
2005-03-25 17:02:41 UTC
Hi erpel, thanks for using and supporting OpenOffice.org... reassigned to requirements... *** Issue 46015 has been confirmed by votes. *** This is a important feature! Example: I have to search and replace expressions in double-square-brackets like [[this is some text]]. In the moment it is not possible to search for such strings if there are more than one in a paragraph! Example: in "sentence is [[123]] an so on [[456789]] etc." the search for the regex \[\[.*\]\] returns "[[123]] an so on [[456789]]" because it is "greedy". There is really urgent need for the "lazy"-operator "?". Since Apache OpenOffice 3.4, the engine of the regular expression has been replaced with the one from ICU and more powreful. The requested function should work with it. |