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


Hallo Andre,

ich komm grad nicht drauf, wie man reguläre Ausdrücke in
Filterbedingungen in Base nutzen kann. Ich habe versucht

      … WHERE column RLIKE 'regex_here'
      … WHERE column REGEXP 'regex_here'
      … WHERE column REGEXP_LIKE 'regex_here'

Ich habe die Befürchtung, dass Du mit Deinem Vorhaben kein Glück haben
wirst, zumindest wenn Du die interne HSQLDB benutzt. Die kennt nur LIKE
und dort dann auch nur Platzhalter für ein oder beliebig viele Zeichen:

The LIKE keyword uses '%' to match any (including 0) number of
characters, and '_' to match exactly one character. To search for '%' or
'_' itself an escape character must also be specified using the ESCAPE
clause. For example, if the backslash is the escaping character, '\%'
and '\_' can be used to find the '%' and '_' characters themselves. For
example, SELECT .... LIKE '\_%' ESCAPE '\' will find the strings
beginning with an underscore.

Wenn Du z.B. MySQL nutzt geht REGEXP bzw. RLIKE mit den von Dir
aufgeführten Parametern.

Gruß

Robert

-- 
Informationen zum Abmelden: E-Mail an users+help@de.libreoffice.org
Probleme? http://de.libreoffice.org/hilfe-kontakt/mailing-listen/abmeldung-liste/
Tipps zu Listenmails: http://wiki.documentfoundation.org/Netiquette/de
Listenarchiv: http://listarchives.libreoffice.org/de/users/
Alle E-Mails an diese Liste werden unlöschbar öffentlich archiviert

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.