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


Hallo Werner und *,

eine schöner regulärer Ausdruck, den ich anfangs nicht gleich verstanden habe.

A1: /etc/default/grub

A2: =REGAUS(A1;"/[^/]*$") => /grub

Wäre nachfolgende Erklärung dieses regulären Ausdrucks passend/richtig ?

Finde eine Zeichenkette, die mit "/" beginnt und bis Zeilenende keine weiteren "/" enthält, d.h., ignoriere alle vorherigen "/".

Suche "/" bis Zeilenende '$' => / ... $
und
'[' negiere/ignoriere '^' "/" ']' 0 mal oder beliebig oft '*' => [^/]*

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.