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


Am 29.04.2013 16:07, schrieb Markus Müller:

ich habe ein Calc-Dokument, in dem eine Formel wie

=DBANZAHL2($BO$6:$BO$37;0;$Krit.$B$50:$B$51)

eine Spalte nach der Anzahl des Auftretens einer Zeichenkette 
durchsucht. Das Kriterium ist z.B.: [A-Za-z]*Cc[Aza-z]*

Durchsucht werden kurze Zeichenketten wie 'CuCbAcCi' oder 'CuCc' (ohne 
die ''). Gefunden werden AUCH Zeichenketten, die cC enthalten (wie im 
ersten Beispiel). Gefunden werden sollen - case sensitive - jedoch nur 
solche, die tatsächlich Cc (wie im 2. Beispiel) enthalten.

Optionen - Calc - Berechnen: reguläre Ausdrücke ermöglichen UND
Optionen - Calc - Berechnen: Groß-/Kleinschreibung
sind ANgeschaltet.

Win7/64
LO  3.6.6.2 (Build ID: f969faf)

Ein Denkfehler meinerseits oder eine fehlerhafte Berechnung?

http://wiki.openoffice.org/wiki/Documentation/How_Tos/Regular_Expressions_in_Calc

|  Regular expression searches /within functions/ are _always_case_
|  _insensitive_, irrespective of the setting of the "Case sensitive"
|  check box on the dialog above - so '*red*' and '*ROD*' will always
|  be matched in the above example. This case-insensitivity also
|  applies to the regular expression structures ([:lower:]) and
|  ([:upper:]), which match characters irrespective of case. See issue
|  71000 for some background.

Wolfgang
-- 


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