https://bugs.freedesktop.org/show_bug.cgi?id=52504

Jim Avera <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #2 from Jim Avera <[email protected]> ---
No.   ^. is not equivalent.  ^. means to match the first character on the line,
and if doing a replace then the first character would be deleted.  ^ by itself
matches the start of the line (not including any characters), and replacing it
with something effectively inserts the "replacement" text at the start of the
line.    You could use something ugly like replacing ^(.) with ${1}PREFIX to
avoid deleting the first character, but that would fail on blank lines which
don't have any characters in them.


In any case, ^ (by itslef) is a standard, well-defined regular expression
syntax used everywhere else (Perl, Python, vim etc. etc.) and Libre Office
should not do something incompatible.

-- 
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