Date: prev next · Thread: first prev next last
2022 Archives by date, by thread · List index


Hallo Matthias,

Wenn das eine unvollständige Implementierung ist, was durchaus möglich sein
könnte, dann ist es ein Bug in der Doku. Denn da steht:
| ^     Am Anfang eines Absatzes oder einer Zelle. Spezielle Objekte wie
| leere Felder oder als Zeichen verankerte Rahmen am Anfang eines Absatzes
| werden ignoriert. Beispiel: "^Peter" stimmt nur dann mit dem Wort "Peter"
| überein, wenn es das erste Wort eines Absatzes ist.

"^" ist der Anker für den Zeilenanfang. Wenn ich den so verwende, will ich
einen Einschub am Zeilenanfang machen, egal was da steht.
das ist kein BUG.

Im RegExp-Standard https://unicode-org.github.io/icu/userguide/strings/regexp.html#regular-expression-metacharacters steht:

^ = Match at the beginning of a line.

Mit anderen Worten: Finde etwas, was am Zeilenanfang beginnt.

^ kann man nicht finden, sondern nur das, was direkt auf ^ folgt. ^.* findet alles, was direkt am Zeilenanfang steht/beginnt.

Grüße
Hans-Werner ;-))

--
Liste abmelden mit E-Mail an: users+unsubscribe@de.libreoffice.org
Probleme? https://de.libreoffice.org/hilfe-kontakt/mailing-listen/abmeldung-liste/
Tipps zu Listenmails: https://wiki.documentfoundation.org/Netiquette/de
Listenarchiv: https://listarchives.libreoffice.org/de/users/
Datenschutzerklärung: https://www.documentfoundation.org/privacy

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.