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

Beluga <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Beluga <[email protected]> ---
(In reply to Nick Levinson from comment #0)
> In the Help file, in the list of regular expressions, this appears: "* Finds
> zero or more of the characters in front of the '*'. For example, 'Ab*c'
> finds 'Ac', 'Abc', 'Abbc', 'Abbbc', and so on." That, because it says "zero
> or more", for the example, would also find "c", thus it would find
> everything. But that's not the actual behavior when I tested.
> 
> Similarly, it says, "? Finds zero or one of the characters in front of the
> '?'. For example, 'Texts?' finds 'Text' and 'Texts' and 'x(ab|c)?y' finds
> 'xy', 'xaby', or 'xcy'." That means that "Texts?" will find all instances of
> "?".
> 
> Clearer wordings are needed.

* and ? are not treated like characters, but like conditions.

Escaping \? would find the character '?'.

Also, the 'c' when it appears in the expression is treated like part of the
condition to "look at what character is allowed to appear immediately before
'c'".

What is your proposal for the revised wording?

Disclosure: I'm not particularly skilled with regexes and usually have to stare
at them with my eyes glazed over for long periods of time to understand
anything.

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

Reply via email to