https://bugs.documentfoundation.org/show_bug.cgi?id=99181

GerardF <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |NOTABUG

--- Comment #3 from GerardF <[email protected]> ---
(In reply to Tom from comment #2)

> In short: if ".*mo|mw|ma|ml|mu|my.*" matches 
> ml
> why does it not match
> mlm
> as is the case?
> i.e., it only matches if the cell contains exactly ml and no character
> before nor any character thereafter.
> 
> So ".*mo|mw|ma|ml|mu|my.*" seems to work exactly like
> "mo|mw|ma|ml|mu|my"

No, this search matches:
.*mo
mw
ma
ml
mu
my.*

Word ending with "mo", words beginning with "my" and exact match for others.
"hel|hal.*" with find exact match "hel" and words beginning with "hal".
Operator | (or) have priority. (.* applies only to "hal".
While with "(hel|hal).*" will find "hell", "hello", "hallo", "hellish"...
(With the grouping parenthesis, ".*" apllies to all the group.)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to