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 received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/465309

Title:
  [Upstream] Regular Expression Search for circumflex by itself does not
  find beginning of a paragraph

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/465309/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to