| 1 |
# German translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Helge Kreutzmann <[email protected]>, 2022,2023. |
| 5 |
# FIXME: fedora-rawhide noch mal als ganzes lesen, wenn fertig … |
| 6 |
msgid "" |
| 7 |
msgstr "" |
| 8 |
"Project-Id-Version: manpages-l10n 4.30.2\n" |
| 9 |
"POT-Creation-Date: 2026-06-05 06:39+0200\n" |
| 10 |
"PO-Revision-Date: 2026-06-05 14:53+0200\n" |
| 11 |
"Last-Translator: Helge Kreutzmann <[email protected]>\n" |
| 12 |
"Language-Team: German <[email protected]>\n" |
| 13 |
"Language: de\n" |
| 14 |
"MIME-Version: 1.0\n" |
| 15 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 16 |
"Content-Transfer-Encoding: 8bit\n" |
| 17 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n" |
| 18 |
|
| 19 |
#. type: TH |
| 20 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 21 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 22 |
#, no-wrap |
| 23 |
msgid "regex" |
| 24 |
msgstr "regex" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 28 |
#, no-wrap |
| 29 |
msgid "2026-02-22" |
| 30 |
msgstr "22. Februar 2026" |
| 31 |
|
| 32 |
#. type: TH |
| 33 |
#: archlinux debian-unstable |
| 34 |
#, no-wrap |
| 35 |
msgid "Linux man-pages 6.18" |
| 36 |
msgstr "Linux man-pages 6.18" |
| 37 |
|
| 38 |
#. type: SH |
| 39 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 40 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 41 |
#, no-wrap |
| 42 |
msgid "NAME" |
| 43 |
msgstr "BEZEICHNUNG" |
| 44 |
|
| 45 |
#. type: Plain text |
| 46 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 47 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 48 |
msgid "regcomp, regexec, regerror, regfree - POSIX regex functions" |
| 49 |
msgstr "" |
| 50 |
"regcomp, regexec, regerror, regfree - Regulärer-Ausdruck-Funktionen gemäß " |
| 51 |
"POSIX" |
| 52 |
|
| 53 |
#. type: SH |
| 54 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 55 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 56 |
#, no-wrap |
| 57 |
msgid "LIBRARY" |
| 58 |
msgstr "BIBLIOTHEK" |
| 59 |
|
| 60 |
#. type: Plain text |
| 61 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 62 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 63 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 64 |
msgstr "Standard-C-Bibliothek (I<libc>,\\ I<-lc>)" |
| 65 |
|
| 66 |
#. type: SH |
| 67 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 68 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 69 |
#, no-wrap |
| 70 |
msgid "SYNOPSIS" |
| 71 |
msgstr "ÜBERSICHT" |
| 72 |
|
| 73 |
#. type: Plain text |
| 74 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 75 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 76 |
#, no-wrap |
| 77 |
msgid "B<#include E<lt>regex.hE<gt>>\n" |
| 78 |
msgstr "B<#include E<lt>regex.hE<gt>>\n" |
| 79 |
|
| 80 |
#. type: Plain text |
| 81 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 82 |
#: opensuse-tumbleweed |
| 83 |
#, no-wrap |
| 84 |
msgid "" |
| 85 |
"B<int regcomp(regex_t *restrict >I<preg>B<, const char *restrict >I<regex>B<,>\n" |
| 86 |
"B< int >I<cflags>B<);>\n" |
| 87 |
"B<int regexec(const regex_t *restrict >I<preg>B<,>\n" |
| 88 |
"B< const char *restrict >I<string>B<,>\n" |
| 89 |
"B< size_t >I<n>B<, regmatch_t >I<pmatch>B<[_Nullable restrict >I<n>B<],>\n" |
| 90 |
"B< int >I<eflags>B<);>\n" |
| 91 |
msgstr "" |
| 92 |
"B<int regcomp(regex_t *restrict >I<preg>B<, const char *restrict >I<regaus>B<,>\n" |
| 93 |
"B< int >I<kschalter>B<);>\n" |
| 94 |
"B<int regexec(const regex_t *restrict >I<preg>B<,>\n" |
| 95 |
"B< const char *restrict >I<zeichenkette>B<,>\n" |
| 96 |
"B< size_t >I<n>B<, regmatch_t >I<ntreffer>B<[_Nullable restrict >I<n>B<],>\n" |
| 97 |
"B< int >I<aschalter>B<);>\n" |
| 98 |
|
| 99 |
# WONTFIX B<…>size_t errbuf_size → B<…size_t> I<errbuf_size> // forward declaration |
| 100 |
#. type: Plain text |
| 101 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 102 |
#: opensuse-tumbleweed |
| 103 |
#, no-wrap |
| 104 |
msgid "" |
| 105 |
"B<size_t regerror(>size_t errbuf_size;\n" |
| 106 |
"B< int >I<errcode>B<, const regex_t *_Nullable restrict >I<preg>B<,>\n" |
| 107 |
"B< char >I<errbuf>B<[_Nullable restrict >I<errbuf_size>B<],>\n" |
| 108 |
"B< size_t >I<errbuf_size>B<);>\n" |
| 109 |
"B<void regfree(regex_t *>I<preg>B<);>\n" |
| 110 |
msgstr "" |
| 111 |
"B<size_t regerror(>size_t fehlerpufgröße;\n" |
| 112 |
"B< int >I<fehlercode>B<, const regex_t *_Nullable restrict >I<preg>B<,>\n" |
| 113 |
"B< char >I<fehlerpuf>B<[_Nullable restrict >I<fehlerpufgröße>B<],>\n" |
| 114 |
"B< size_t >I<fehlerpufgröße>B<);>\n" |
| 115 |
"B<void regfree(regex_t *>I<preg>B<);>\n" |
| 116 |
|
| 117 |
#. type: Plain text |
| 118 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 119 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 120 |
#, no-wrap |
| 121 |
msgid "" |
| 122 |
"B<typedef struct {>\n" |
| 123 |
"B<size_t re_nsub;>\n" |
| 124 |
"B<} regex_t;>\n" |
| 125 |
msgstr "" |
| 126 |
"B<typedef struct {>\n" |
| 127 |
"B<size_t re_nsub;>\n" |
| 128 |
"B<} regex_t;>\n" |
| 129 |
|
| 130 |
#. type: Plain text |
| 131 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 132 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 133 |
#, no-wrap |
| 134 |
msgid "" |
| 135 |
"B<typedef struct {>\n" |
| 136 |
"B<regoff_t rm_so;>\n" |
| 137 |
"B<regoff_t rm_eo;>\n" |
| 138 |
"B<} regmatch_t;>\n" |
| 139 |
msgstr "" |
| 140 |
"B<typedef struct {>\n" |
| 141 |
"B<regoff_t rm_so;>\n" |
| 142 |
"B<regoff_t rm_eo;>\n" |
| 143 |
"B<} regmatch_t;>\n" |
| 144 |
|
| 145 |
#. type: Plain text |
| 146 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 147 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 148 |
#, no-wrap |
| 149 |
msgid "B<typedef> /* ... */ B<regoff_t;>\n" |
| 150 |
msgstr "B<typedef> /* … */ B<regoff_t;>\n" |
| 151 |
|
| 152 |
#. type: SH |
| 153 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 154 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 155 |
#, no-wrap |
| 156 |
msgid "DESCRIPTION" |
| 157 |
msgstr "BESCHREIBUNG" |
| 158 |
|
| 159 |
#. type: SS |
| 160 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 161 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 162 |
#, no-wrap |
| 163 |
msgid "Compilation" |
| 164 |
msgstr "Kompilierung" |
| 165 |
|
| 166 |
#. type: Plain text |
| 167 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 168 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 169 |
msgid "" |
| 170 |
"B<regcomp>() is used to compile a regular expression into a form that is " |
| 171 |
"suitable for subsequent B<regexec>() searches." |
| 172 |
msgstr "" |
| 173 |
"B<regcomp>() wird zur Kompilierung eines regulären Ausdrucks in eine Form " |
| 174 |
"verwandt, die für nachfolgende B<regexec>()-Suchen geeignet ist." |
| 175 |
|
| 176 |
#. type: Plain text |
| 177 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 178 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 179 |
msgid "" |
| 180 |
"On success, the pattern buffer at I<*preg> is initialized. I<regex> is a " |
| 181 |
"null-terminated string. The locale must be the same when running " |
| 182 |
"B<regexec>()." |
| 183 |
msgstr "" |
| 184 |
"Im Erfolgsfall wird der Musterpuffer bei I<*preg> initialisert. I<regaus> " |
| 185 |
"ist eine auf Nullbyte endende Zeichenkette. Die Locale muss die gleiche wie " |
| 186 |
"bei der Ausführung von B<regexec>() sein." |
| 187 |
|
| 188 |
#. type: Plain text |
| 189 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 190 |
#: opensuse-tumbleweed |
| 191 |
msgid "" |
| 192 |
"After B<regcomp>() succeeds, I<preg-E<gt>re_nsub> holds the number of " |
| 193 |
"subexpressions in I<regex>. Thus, a value of I<preg-E<gt>re_nsub> + 1 " |
| 194 |
"passed as I<n> to B<regexec>() is sufficient to capture all matches." |
| 195 |
msgstr "" |
| 196 |
"Nachdem B<regcomp>() erfolgreich war, hält I<preg-E<gt>re_nsub> die Anzahl " |
| 197 |
"der Unterausdrücke in I<regaus>. Daher reicht es aus, ein Wert I<preg-" |
| 198 |
"E<gt>re_nsub> + 1 als I<n> an B<regexec>() zu übergeben, um alle Treffer " |
| 199 |
"einzufangen." |
| 200 |
|
| 201 |
#. type: Plain text |
| 202 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 203 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 204 |
msgid "I<cflags> is the bitwise OR of zero or more of the following:" |
| 205 |
msgstr "I<kschalter> ist das bitweises ODER von null oder mehr der Folgenden:" |
| 206 |
|
| 207 |
#. type: TP |
| 208 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 209 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 210 |
#, no-wrap |
| 211 |
msgid "B<REG_EXTENDED>" |
| 212 |
msgstr "B<REG_EXTENDED>" |
| 213 |
|
| 214 |
#. type: Plain text |
| 215 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 216 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 217 |
msgid "" |
| 218 |
"Use POSIX Extended Regular Expression syntax when interpreting I<regex>. If " |
| 219 |
"not set, POSIX Basic Regular Expression syntax is used." |
| 220 |
msgstr "" |
| 221 |
"Die Syntax der erweiterten regulären Ausdrücke gemäß POSIX bei der " |
| 222 |
"Interpretation von I<regaus> verwenden. Falls nicht gesetzt, werden die " |
| 223 |
"grundlegenden regulären Ausdrücke gemäß POSIX verwandt." |
| 224 |
|
| 225 |
#. type: TP |
| 226 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 227 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 228 |
#, no-wrap |
| 229 |
msgid "B<REG_ICASE>" |
| 230 |
msgstr "B<REG_ICASE>" |
| 231 |
|
| 232 |
#. type: Plain text |
| 233 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 234 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 235 |
msgid "" |
| 236 |
"Do not differentiate case. Subsequent B<regexec>() searches using this " |
| 237 |
"pattern buffer will be case insensitive." |
| 238 |
msgstr "" |
| 239 |
"Keine Unterscheidung der Groß-/Kleinschreibung durchführen. Nachfolgende " |
| 240 |
"B<regexec>()-Suchen mit diesem Musterpuffer werden die Groß-/Kleinschreibung " |
| 241 |
"ignorieren." |
| 242 |
|
| 243 |
#. type: TP |
| 244 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 245 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 246 |
#, no-wrap |
| 247 |
msgid "B<REG_NOSUB>" |
| 248 |
msgstr "B<REG_NOSUB>" |
| 249 |
|
| 250 |
#. type: Plain text |
| 251 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 252 |
#: opensuse-tumbleweed |
| 253 |
msgid "" |
| 254 |
"Report only overall success. B<regexec>() will use only I<pmatch> for " |
| 255 |
"B<REG_STARTEND>, ignoring I<n>." |
| 256 |
msgstr "" |
| 257 |
"Nur den Gesamterfolg berichten. B<regexec>() wird nur I<ptreffer> für " |
| 258 |
"B<REG_STARTEND> verwenden und I<n> ignorieren." |
| 259 |
|
| 260 |
#. type: TP |
| 261 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 262 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 263 |
#, no-wrap |
| 264 |
msgid "B<REG_NEWLINE>" |
| 265 |
msgstr "B<REG_NEWLINE>" |
| 266 |
|
| 267 |
#. type: Plain text |
| 268 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 269 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 270 |
msgid "Match-any-character operators don't match a newline." |
| 271 |
msgstr "Passt-auf-jedes-Zeichen-Operator passt nicht auf einen Zeilenumbruch." |
| 272 |
|
| 273 |
#. type: Plain text |
| 274 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 275 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 276 |
msgid "" |
| 277 |
"A nonmatching list (B<[\\[ha]...\\&]>) not containing a newline does not " |
| 278 |
"match a newline." |
| 279 |
msgstr "" |
| 280 |
"Eine Liste nichtpassender Zeichen (B<[\\[ha]…\\&]>), die keinen " |
| 281 |
"Zeilenumbruch enthält, passt nicht auf einen Zeilenumbruch." |
| 282 |
|
| 283 |
#. type: Plain text |
| 284 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 285 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 286 |
msgid "" |
| 287 |
"Match-beginning-of-line operator (B<\\[ha]>) matches the empty string " |
| 288 |
"immediately after a newline, regardless of whether I<eflags>, the execution " |
| 289 |
"flags of B<regexec>(), contains B<REG_NOTBOL>." |
| 290 |
msgstr "" |
| 291 |
"Passt-auf-Zeilenanfang-Operator (B<\\[ha]>) passt auf die leere Zeichenkette " |
| 292 |
"direkt nach einem Zeilenumbruch, unabhängig davon, ob die " |
| 293 |
"Ausführungsschalter von B<regexec>() (I<eflags>) B<REG_NOTBOL> enthalten." |
| 294 |
|
| 295 |
#. type: Plain text |
| 296 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 297 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 298 |
msgid "" |
| 299 |
"Match-end-of-line operator (B<$>) matches the empty string immediately " |
| 300 |
"before a newline, regardless of whether I<eflags> contains B<REG_NOTEOL>." |
| 301 |
msgstr "" |
| 302 |
"Passt-auf-Zeilenende-Operator (B<$>) passt auf die leere Zeichenkette direkt " |
| 303 |
"vor einem Zeilenumbruch, unabhängig davon, ob I<eflags> B<REG_NOTEOL> " |
| 304 |
"enthält." |
| 305 |
|
| 306 |
#. type: SS |
| 307 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 308 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 309 |
#, no-wrap |
| 310 |
msgid "Matching" |
| 311 |
msgstr "Vergleich" |
| 312 |
|
| 313 |
#. type: Plain text |
| 314 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 315 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 316 |
msgid "" |
| 317 |
"B<regexec>() is used to match a null-terminated string against the compiled " |
| 318 |
"pattern buffer in I<*preg>, which must have been initialised with " |
| 319 |
"B<regcomp>(). I<eflags> is the bitwise OR of zero or more of the following " |
| 320 |
"flags:" |
| 321 |
msgstr "" |
| 322 |
"B<regexec>() wird zum Vergleich einer auf Nullbyte endenden Zeichenkette mit " |
| 323 |
"dem kompilierten Musterpuffer in I<*preg>, der durch B<regcomp>() " |
| 324 |
"initialisiert sein muss. I<aschalter> ist das bitweise B<ODER> von null oder " |
| 325 |
"mehreren der folgenden Schalter:" |
| 326 |
|
| 327 |
#. type: TP |
| 328 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 329 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 330 |
#, no-wrap |
| 331 |
msgid "B<REG_NOTBOL>" |
| 332 |
msgstr "B<REG_NOTBOL>" |
| 333 |
|
| 334 |
#. type: Plain text |
| 335 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 336 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 337 |
msgid "" |
| 338 |
"The match-beginning-of-line operator always fails to match (but see the " |
| 339 |
"compilation flag B<REG_NEWLINE> above). This flag may be used when " |
| 340 |
"different portions of a string are passed to B<regexec>() and the beginning " |
| 341 |
"of the string should not be interpreted as the beginning of the line." |
| 342 |
msgstr "" |
| 343 |
"Der Passt-auf-Zeilenanfang-Operator schlägt bei Vergleich immer fehl (siehe " |
| 344 |
"aber auch obigen Kompilierungsschalter B<REG_NEWLINE>). Dieser Schalter kann " |
| 345 |
"verwandt werden, wenn verschiedene Anteile einer Zeichenkette an " |
| 346 |
"B<regexec>() übergeben werden und der Anfang einer Zeichenkette nicht als " |
| 347 |
"Anfang einer Zeile interpretiert werden soll." |
| 348 |
|
| 349 |
#. type: TP |
| 350 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 351 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 352 |
#, no-wrap |
| 353 |
msgid "B<REG_NOTEOL>" |
| 354 |
msgstr "B<REG_NOTEOL>" |
| 355 |
|
| 356 |
#. type: Plain text |
| 357 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 358 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 359 |
msgid "" |
| 360 |
"The match-end-of-line operator always fails to match (but see the " |
| 361 |
"compilation flag B<REG_NEWLINE> above)." |
| 362 |
msgstr "" |
| 363 |
"Der Passt-auf-Zeilenende-Operator schlägt bei Vergleich immer fehl (siehe " |
| 364 |
"aber auch obigen Kompilierungsschalter B<REG_NEWLINE>)." |
| 365 |
|
| 366 |
#. type: TP |
| 367 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 368 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 369 |
#, no-wrap |
| 370 |
msgid "B<REG_STARTEND>" |
| 371 |
msgstr "B<REG_STARTEND>" |
| 372 |
|
| 373 |
#. type: Plain text |
| 374 |
#: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed |
| 375 |
msgid "" |
| 376 |
"Match [I<string + pmatch[0].rm_so>,I< string + pmatch[0].rm_eo>) instead of " |
| 377 |
"[I<string>,\\ I<strnul(string)>). This allows matching embedded NUL bytes. " |
| 378 |
"If any matches are returned (B<REG_NOSUB> wasn't passed to B<regcomp>(), the " |
| 379 |
"match succeeded, and I<n> E<gt> 0), they overwrite I<pmatch> as usual, and " |
| 380 |
"the match offsets remain relative to I<string> (not I<string + " |
| 381 |
"pmatch[0].rm_so>). This flag is a BSD extension, not present in POSIX." |
| 382 |
msgstr "" |
| 383 |
"Passt auf [I<Zeichenkette + ptreffer[0].rm_so>,I< Zeichenkette + " |
| 384 |
"ptreffer[0].rm_eo>) anstelle von [I<Zeichenkette>,\\ " |
| 385 |
"I<strnul(Zeichenkette)>). Dies ermöglicht den Vergleich mit Nullbytes. Falls " |
| 386 |
"Treffer zurückgeliefert wurden (B<REG_NOSUB> wurde nicht an B<regcomp>() " |
| 387 |
"übergeben, der Vergleich war erfolgreich und I<n> E<gt> 0) überschreiben sie " |
| 388 |
"wie gewöhnlich I<ptreffer> und der Vergleichsversatz bleibt relativ zu " |
| 389 |
"I<zeichenkette> (nicht I<zeichenkette + ptreffer[0].rm_so>). Dieser Schalter " |
| 390 |
"ist eine BSD-Erweiterung und in POSIX nicht vorhanden." |
| 391 |
|
| 392 |
#. type: SS |
| 393 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 394 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 395 |
#, no-wrap |
| 396 |
msgid "Match offsets" |
| 397 |
msgstr "Vergleichs-Versätze" |
| 398 |
|
| 399 |
#. type: Plain text |
| 400 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 401 |
#: opensuse-tumbleweed |
| 402 |
msgid "" |
| 403 |
"Unless B<REG_NOSUB> was passed to B<regcomp>(), it is possible to obtain the " |
| 404 |
"locations of matches within I<string>: B<regexec>() fills I<n> elements of " |
| 405 |
"I<pmatch> with results: I<pmatch[0]> corresponds to the entire match, " |
| 406 |
"I<pmatch[1]> to the first subexpression, etc. If there were more matches " |
| 407 |
"than I<n>, they are discarded; if fewer, unused elements of I<pmatch> are " |
| 408 |
"filled with B<-1>s." |
| 409 |
msgstr "" |
| 410 |
"Außer B<REG_NOSUB> wurde an B<regcomp>() übergeben, ist es möglich, den Ort " |
| 411 |
"des Treffers innerhalb von I<zeichenkette> zu bestimmen: B<regexec>() füllt " |
| 412 |
"I<n> Elemente von I<ptreffer> mit Ergebnissen: I<ptreffere[0]> entspricht " |
| 413 |
"dem gesamten Treffer, I<ptreffer[1]> dem ersten Unterausdruck usw. Falls es " |
| 414 |
"mehr Treffer als I<n> gab, werden diese verworfen; falls weniger, werden " |
| 415 |
"unbenutzte Elemente von I<ptreffer> mit B<-1>en gefüllt." |
| 416 |
|
| 417 |
#. type: Plain text |
| 418 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 419 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 420 |
msgid "" |
| 421 |
"Each returned valid (non-B<-1>) match corresponds to the range [I<string + " |
| 422 |
"rm_so>,I< string + rm_eo>)." |
| 423 |
msgstr "" |
| 424 |
"Jeder zurückgelieferte gültige (nicht B<-1>) Treffer entspricht dem Bereich " |
| 425 |
"[I<zeichenkette + rm_so>,I< zeichenkette + rm_eo>)." |
| 426 |
|
| 427 |
#. type: Plain text |
| 428 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 429 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 430 |
msgid "" |
| 431 |
"I<regoff_t> is a signed integer type capable of storing the largest value " |
| 432 |
"that can be stored in either an I<ptrdiff_t> type or a I<ssize_t> type." |
| 433 |
msgstr "" |
| 434 |
"I<regoff_t> ist ein vorzeichenbehafteter Ganzzahltyp, der den größten Wert " |
| 435 |
"speichern kann, der in entweder dem Typ I<ptrdiff_t> oder dem Typ I<ssize_t> " |
| 436 |
"gespeichert werden kann." |
| 437 |
|
| 438 |
#. type: SS |
| 439 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 440 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 441 |
#, no-wrap |
| 442 |
msgid "Error reporting" |
| 443 |
msgstr "Fehlerberichterstattung" |
| 444 |
|
| 445 |
#. type: Plain text |
| 446 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 447 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 448 |
msgid "" |
| 449 |
"B<regerror>() is used to turn the error codes that can be returned by both " |
| 450 |
"B<regcomp>() and B<regexec>() into error message strings." |
| 451 |
msgstr "" |
| 452 |
"Zur Umwandlung der von B<regcomp>() und B<regexec>() zurückgelieferten " |
| 453 |
"Fehlercodes in Fehlermeldungszeichenketten wird B<regerror>() verwandt." |
| 454 |
|
| 455 |
#. type: Plain text |
| 456 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 457 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 458 |
msgid "" |
| 459 |
"If I<preg> isn't a null pointer, I<errcode> must be the latest error " |
| 460 |
"returned from an operation on I<preg>." |
| 461 |
msgstr "" |
| 462 |
"Falls I<preg> kein NULL-Zeiger ist, muss I<fehlercode> der neuste Fehlercode " |
| 463 |
"sein, der von einer Aktion auf I<preg> zurückgeliefert wurde." |
| 464 |
|
| 465 |
#. type: Plain text |
| 466 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 467 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 468 |
msgid "" |
| 469 |
"If I<errbuf_size> isn't 0, up to I<errbuf_size> bytes are copied to " |
| 470 |
"I<errbuf>; the error string is always null-terminated, and truncated to fit." |
| 471 |
msgstr "" |
| 472 |
"Falls I<fehlerpufgröße> nicht 0 ist, werden bis zu I<fehlerpufgröße> an " |
| 473 |
"Bytes in I<fehlerpuf> kopiert; die Fehlerzeichenkette endet immer auf einem " |
| 474 |
"Nullbyte und wird abgeschnitten, damit sie passt." |
| 475 |
|
| 476 |
#. type: SS |
| 477 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 478 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 479 |
#, no-wrap |
| 480 |
msgid "Freeing" |
| 481 |
msgstr "Freigabe" |
| 482 |
|
| 483 |
#. type: Plain text |
| 484 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 485 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 486 |
msgid "" |
| 487 |
"B<regfree>() deinitializes the pattern buffer at I<*preg>, freeing any " |
| 488 |
"associated memory; I<*preg> must have been initialized via B<regcomp>()." |
| 489 |
msgstr "" |
| 490 |
"B<regfree>() deinitialisiert den Musterpuffer bei I<*preg> und gibt " |
| 491 |
"sämtlichen zugeordneten Speicher frei. I<*preg> muss mittels B<regcomp>() " |
| 492 |
"initialisiert worden sein." |
| 493 |
|
| 494 |
#. type: SH |
| 495 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 496 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 497 |
#, no-wrap |
| 498 |
msgid "RETURN VALUE" |
| 499 |
msgstr "RÜCKGABEWERT" |
| 500 |
|
| 501 |
#. type: Plain text |
| 502 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 503 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 504 |
msgid "" |
| 505 |
"B<regcomp>() returns zero for a successful compilation or an error code for " |
| 506 |
"failure." |
| 507 |
msgstr "" |
| 508 |
"B<regcomp>() liefert Null bei einer erfolgreichen Kompilierung oder einen " |
| 509 |
"Fehlercode bei einem Fehlschlag zurück." |
| 510 |
|
| 511 |
#. type: Plain text |
| 512 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 513 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 514 |
msgid "" |
| 515 |
"B<regexec>() returns zero for a successful match or B<REG_NOMATCH> for " |
| 516 |
"failure." |
| 517 |
msgstr "" |
| 518 |
"B<regexec>() liefert Null bei einem erfolgreichen Treffer oder " |
| 519 |
"B<REG_NOMATCH> bei einem Fehlschlag zurück." |
| 520 |
|
| 521 |
#. type: Plain text |
| 522 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 523 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 524 |
msgid "" |
| 525 |
"B<regerror>() returns the size of the buffer required to hold the string." |
| 526 |
msgstr "" |
| 527 |
"B<regerror>() liefert die Größe des Puffers zurück, der zum Halten der " |
| 528 |
"Zeichenkette benötigt wird." |
| 529 |
|
| 530 |
#. type: SH |
| 531 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 532 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 533 |
#, no-wrap |
| 534 |
msgid "ERRORS" |
| 535 |
msgstr "FEHLER" |
| 536 |
|
| 537 |
#. type: Plain text |
| 538 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 539 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 540 |
msgid "The following errors can be returned by B<regcomp>():" |
| 541 |
msgstr "Von B<regcomp>() können die folgenden Fehler zurückgeliefert werden:" |
| 542 |
|
| 543 |
#. type: TP |
| 544 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 545 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 546 |
#, no-wrap |
| 547 |
msgid "B<REG_BADBR>" |
| 548 |
msgstr "B<REG_BADBR>" |
| 549 |
|
| 550 |
#. type: Plain text |
| 551 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 552 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 553 |
msgid "Invalid use of back reference operator." |
| 554 |
msgstr "Ungültige Verwendung des Rückwärtsverweis-Operators." |
| 555 |
|
| 556 |
#. type: TP |
| 557 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 558 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 559 |
#, no-wrap |
| 560 |
msgid "B<REG_BADPAT>" |
| 561 |
msgstr "B<REG_BADPAT>" |
| 562 |
|
| 563 |
#. type: Plain text |
| 564 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 565 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 566 |
msgid "Invalid use of pattern operators such as group or list." |
| 567 |
msgstr "" |
| 568 |
"Ungültige Verwendung des Muster-Operators (wie Gruppierung oder Liste)." |
| 569 |
|
| 570 |
#. type: TP |
| 571 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 572 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 573 |
#, no-wrap |
| 574 |
msgid "B<REG_BADRPT>" |
| 575 |
msgstr "B<REG_BADRPT>" |
| 576 |
|
| 577 |
#. type: Plain text |
| 578 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 579 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 580 |
msgid "" |
| 581 |
"Invalid use of repetition operators such as using \\[aq]*\\[aq] as the first " |
| 582 |
"character." |
| 583 |
msgstr "" |
| 584 |
"Ungültige Verwendung des Wiederholungs-Operators wie die Verwendung von »*« " |
| 585 |
"als erstes Zeichen." |
| 586 |
|
| 587 |
#. type: TP |
| 588 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 589 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 590 |
#, no-wrap |
| 591 |
msgid "B<REG_EBRACE>" |
| 592 |
msgstr "B<REG_EBRACE>" |
| 593 |
|
| 594 |
#. type: Plain text |
| 595 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 596 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 597 |
msgid "Un-matched brace interval operators." |
| 598 |
msgstr "" |
| 599 |
"Fehlender öffenender oder schließender Intervall-Operator (geschweifte " |
| 600 |
"Klammer)." |
| 601 |
|
| 602 |
#. type: TP |
| 603 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 604 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 605 |
#, no-wrap |
| 606 |
msgid "B<REG_EBRACK>" |
| 607 |
msgstr "B<REG_EBRACK>" |
| 608 |
|
| 609 |
#. type: Plain text |
| 610 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 611 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 612 |
msgid "Un-matched bracket list operators." |
| 613 |
msgstr "" |
| 614 |
"Fehlender öffenender oder schließender Listen-Operator (eckige Klammer)." |
| 615 |
|
| 616 |
#. type: TP |
| 617 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 618 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 619 |
#, no-wrap |
| 620 |
msgid "B<REG_ECOLLATE>" |
| 621 |
msgstr "B<REG_ECOLLATE>" |
| 622 |
|
| 623 |
#. type: Plain text |
| 624 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 625 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 626 |
msgid "Invalid collating element." |
| 627 |
msgstr "Ungültiges Sortierelement." |
| 628 |
|
| 629 |
#. type: TP |
| 630 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 631 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 632 |
#, no-wrap |
| 633 |
msgid "B<REG_ECTYPE>" |
| 634 |
msgstr "B<REG_ECTYPE>" |
| 635 |
|
| 636 |
#. type: Plain text |
| 637 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 638 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 639 |
msgid "Unknown character class name." |
| 640 |
msgstr "Unbekannter Zeichenklassenname." |
| 641 |
|
| 642 |
#. type: TP |
| 643 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 644 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 645 |
#, no-wrap |
| 646 |
msgid "B<REG_EEND>" |
| 647 |
msgstr "B<REG_EEND>" |
| 648 |
|
| 649 |
#. type: Plain text |
| 650 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 651 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 652 |
msgid "Nonspecific error. This is not defined by POSIX." |
| 653 |
msgstr "Nichtspezifizierter Fehler. Dies wird durch POSIX nicht definiert." |
| 654 |
|
| 655 |
#. type: TP |
| 656 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 657 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 658 |
#, no-wrap |
| 659 |
msgid "B<REG_EESCAPE>" |
| 660 |
msgstr "B<REG_EESCAPE>" |
| 661 |
|
| 662 |
#. type: Plain text |
| 663 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 664 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 665 |
msgid "Trailing backslash." |
| 666 |
msgstr "Abschließender Rückwärtsschrägstrich." |
| 667 |
|
| 668 |
#. type: TP |
| 669 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 670 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 671 |
#, no-wrap |
| 672 |
msgid "B<REG_EPAREN>" |
| 673 |
msgstr "B<REG_EPAREN>" |
| 674 |
|
| 675 |
#. type: Plain text |
| 676 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 677 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 678 |
msgid "Un-matched parenthesis group operators." |
| 679 |
msgstr "" |
| 680 |
"Fehlender öffenender oder schließender Gruppen-Operator (runde Klammer)." |
| 681 |
|
| 682 |
#. type: TP |
| 683 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 684 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 685 |
#, no-wrap |
| 686 |
msgid "B<REG_ERANGE>" |
| 687 |
msgstr "B<REG_ERANGE>" |
| 688 |
|
| 689 |
#. type: Plain text |
| 690 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 691 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 692 |
msgid "" |
| 693 |
"Invalid use of the range operator; for example, the ending point of the " |
| 694 |
"range occurs prior to the starting point." |
| 695 |
msgstr "" |
| 696 |
"Ungültige Verwendung des Bereichs-Operators; beispielsweise tritt der " |
| 697 |
"Endpunkt des Bereichs vor dem Anfangspunkt auf." |
| 698 |
|
| 699 |
#. type: TP |
| 700 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 701 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 702 |
#, no-wrap |
| 703 |
msgid "B<REG_ESIZE>" |
| 704 |
msgstr "B<REG_ESIZE>" |
| 705 |
|
| 706 |
#. type: Plain text |
| 707 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 708 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 709 |
msgid "" |
| 710 |
"Compiled regular expression requires a pattern buffer larger than 64\\ kB. " |
| 711 |
"This is not defined by POSIX." |
| 712 |
msgstr "" |
| 713 |
"Kompilierte reguläre Ausdrücke benötigen einen Musterpuffer, der größer als " |
| 714 |
"64\\ kB ist. Dies ist in POSIX nicht definiert." |
| 715 |
|
| 716 |
#. type: TP |
| 717 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 718 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 719 |
#, no-wrap |
| 720 |
msgid "B<REG_ESPACE>" |
| 721 |
msgstr "B<REG_ESPACE>" |
| 722 |
|
| 723 |
#. type: Plain text |
| 724 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 725 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 726 |
msgid "The regex routines ran out of memory." |
| 727 |
msgstr "Die Routinen für reguläre Ausdrücke hatten nicht genug Speicher." |
| 728 |
|
| 729 |
#. type: TP |
| 730 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 731 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 732 |
#, no-wrap |
| 733 |
msgid "B<REG_ESUBREG>" |
| 734 |
msgstr "B<REG_ESUBREG>" |
| 735 |
|
| 736 |
#. type: Plain text |
| 737 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 738 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 739 |
msgid "Invalid back reference to a subexpression." |
| 740 |
msgstr "Ungültige Rückwärtsreferenz auf einen Unterausdruck." |
| 741 |
|
| 742 |
#. type: SH |
| 743 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 744 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 745 |
#, no-wrap |
| 746 |
msgid "ATTRIBUTES" |
| 747 |
msgstr "ATTRIBUTE" |
| 748 |
|
| 749 |
#. type: Plain text |
| 750 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 751 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 752 |
msgid "" |
| 753 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 754 |
msgstr "" |
| 755 |
"Siehe B<attributes>(7) für eine Erläuterung der in diesem Abschnitt " |
| 756 |
"verwandten Ausdrücke." |
| 757 |
|
| 758 |
#. type: tbl table |
| 759 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 760 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 761 |
#, no-wrap |
| 762 |
msgid "Interface" |
| 763 |
msgstr "Schnittstelle" |
| 764 |
|
| 765 |
#. type: tbl table |
| 766 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 767 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 768 |
#, no-wrap |
| 769 |
msgid "Attribute" |
| 770 |
msgstr "Attribut" |
| 771 |
|
| 772 |
#. type: tbl table |
| 773 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 774 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 775 |
#, no-wrap |
| 776 |
msgid "Value" |
| 777 |
msgstr "Wert" |
| 778 |
|
| 779 |
#. type: tbl table |
| 780 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 781 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 782 |
#, no-wrap |
| 783 |
msgid ".na\n" |
| 784 |
msgstr ".na\n" |
| 785 |
|
| 786 |
#. type: tbl table |
| 787 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 788 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 789 |
#, no-wrap |
| 790 |
msgid ".nh\n" |
| 791 |
msgstr ".nh\n" |
| 792 |
|
| 793 |
#. type: tbl table |
| 794 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 795 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 796 |
#, no-wrap |
| 797 |
msgid "" |
| 798 |
"B<regcomp>(),\n" |
| 799 |
"B<regexec>()" |
| 800 |
msgstr "" |
| 801 |
"B<regcomp>(),\n" |
| 802 |
"B<regexec>()" |
| 803 |
|
| 804 |
#. type: tbl table |
| 805 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 806 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 807 |
#, no-wrap |
| 808 |
msgid "Thread safety" |
| 809 |
msgstr "Multithread-Fähigkeit" |
| 810 |
|
| 811 |
#. type: tbl table |
| 812 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 813 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 814 |
#, no-wrap |
| 815 |
msgid "MT-Safe locale" |
| 816 |
msgstr "MT-Sicher locale" |
| 817 |
|
| 818 |
#. type: tbl table |
| 819 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 820 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 821 |
#, no-wrap |
| 822 |
msgid "B<regerror>()" |
| 823 |
msgstr "B<regerror>()" |
| 824 |
|
| 825 |
#. type: tbl table |
| 826 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 827 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 828 |
#, no-wrap |
| 829 |
msgid "MT-Safe env" |
| 830 |
msgstr "MT-Sicher env" |
| 831 |
|
| 832 |
#. type: tbl table |
| 833 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 834 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 835 |
#, no-wrap |
| 836 |
msgid "B<regfree>()" |
| 837 |
msgstr "B<regfree>()" |
| 838 |
|
| 839 |
#. type: tbl table |
| 840 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 841 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 842 |
#, no-wrap |
| 843 |
msgid "MT-Safe" |
| 844 |
msgstr "MT-Sicher" |
| 845 |
|
| 846 |
#. type: SH |
| 847 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 848 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 849 |
#, no-wrap |
| 850 |
msgid "STANDARDS" |
| 851 |
msgstr "STANDARDS" |
| 852 |
|
| 853 |
#. type: Plain text |
| 854 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 855 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 856 |
msgid "POSIX.1-2008." |
| 857 |
msgstr "POSIX.1-2008." |
| 858 |
|
| 859 |
#. type: SH |
| 860 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 861 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 862 |
#, no-wrap |
| 863 |
msgid "HISTORY" |
| 864 |
msgstr "GESCHICHTE" |
| 865 |
|
| 866 |
#. type: Plain text |
| 867 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 868 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 869 |
msgid "POSIX.1-2001." |
| 870 |
msgstr "POSIX.1-2001." |
| 871 |
|
| 872 |
#. type: Plain text |
| 873 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 874 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 875 |
msgid "" |
| 876 |
"Prior to POSIX.1-2008, I<regoff_t> was required to be capable of storing the " |
| 877 |
"largest value that can be stored in either an I<off_t> type or a I<ssize_t> " |
| 878 |
"type." |
| 879 |
msgstr "" |
| 880 |
"Vor POSIX.1-2008 musste I<regoff_t> in der Lage sein, den größten Wert " |
| 881 |
"abzuspeichern, der in entweder dem Typ I<off_t> oder dem Typ I<ssize_t> " |
| 882 |
"gespeichert werden kann." |
| 883 |
|
| 884 |
#. type: SH |
| 885 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 886 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 887 |
#, no-wrap |
| 888 |
msgid "CAVEATS" |
| 889 |
msgstr "WARNUNGEN" |
| 890 |
|
| 891 |
#. glibc, musl, 4.4BSD, illumos |
| 892 |
#. type: Plain text |
| 893 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 894 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 895 |
msgid "" |
| 896 |
"I<re_nsub> is only required to be initialized if B<REG_NOSUB> wasn't " |
| 897 |
"specified, but all known implementations initialize it regardless." |
| 898 |
msgstr "" |
| 899 |
"I<re_nsub> muss nur initialisiert sein, falls B<REG_NOSUB> nicht festgelegt " |
| 900 |
"wurde, aber alle bekannten Implementierungen initialisieren sie trotzdem." |
| 901 |
|
| 902 |
#. illumos has two more start/end pairs and the first one is of pointers |
| 903 |
#. type: Plain text |
| 904 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 905 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 906 |
msgid "" |
| 907 |
"Both I<regex_t> and I<regmatch_t> may (and do) have more members, in any " |
| 908 |
"order. Always reference them by name." |
| 909 |
msgstr "" |
| 910 |
"Sowohl I<regex_t> als auch I<regmatch_t> dürfen (und haben) weitere " |
| 911 |
"Mitglieder, in beliebiger Reihenfolge. Referenzieren Sie sie immer über den " |
| 912 |
"Namen." |
| 913 |
|
| 914 |
#. type: SH |
| 915 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 916 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 917 |
#, no-wrap |
| 918 |
msgid "EXAMPLES" |
| 919 |
msgstr "BEISPIELE" |
| 920 |
|
| 921 |
#. type: Plain text |
| 922 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 923 |
#: opensuse-tumbleweed |
| 924 |
#, no-wrap |
| 925 |
msgid "" |
| 926 |
"#include E<lt>stdcountof.hE<gt>\n" |
| 927 |
"#include E<lt>stdint.hE<gt>\n" |
| 928 |
"#include E<lt>stdio.hE<gt>\n" |
| 929 |
"#include E<lt>stdlib.hE<gt>\n" |
| 930 |
"#include E<lt>regex.hE<gt>\n" |
| 931 |
"\\&\n" |
| 932 |
"static const char *const str =\n" |
| 933 |
" \"1) John Driverhacker;\\[rs]n2) John Doe;\\[rs]n3) John Foo;\\[rs]n\";\n" |
| 934 |
"static const char *const re = \"John.*o\";\n" |
| 935 |
"\\&\n" |
| 936 |
"int main(void)\n" |
| 937 |
"{\n" |
| 938 |
" static const char *s = str;\n" |
| 939 |
" regex_t regex;\n" |
| 940 |
" regmatch_t pmatch[1];\n" |
| 941 |
" regoff_t off, len;\n" |
| 942 |
"\\&\n" |
| 943 |
" if (regcomp(®ex, re, REG_NEWLINE))\n" |
| 944 |
" exit(EXIT_FAILURE);\n" |
| 945 |
"\\&\n" |
| 946 |
" printf(\"String = \\[rs]\"%s\\[rs]\"\\[rs]n\", str);\n" |
| 947 |
" printf(\"Matches:\\[rs]n\");\n" |
| 948 |
"\\&\n" |
| 949 |
" for (unsigned int i = 0; ; i++) {\n" |
| 950 |
" if (regexec(®ex, s, countof(pmatch), pmatch, 0))\n" |
| 951 |
" break;\n" |
| 952 |
"\\&\n" |
| 953 |
" off = pmatch[0].rm_so + (s - str);\n" |
| 954 |
" len = pmatch[0].rm_eo - pmatch[0].rm_so;\n" |
| 955 |
" printf(\"#%u:\\[rs]n\", i);\n" |
| 956 |
" printf(\"offset = %jd; length = %jd\\[rs]n\", (intmax_t) off,\n" |
| 957 |
" (intmax_t) len);\n" |
| 958 |
" printf(\"substring = \\[rs]\"%.*s\\[rs]\"\\[rs]n\", len, s + pmatch[0].rm_so);\n" |
| 959 |
"\\&\n" |
| 960 |
" s += pmatch[0].rm_eo;\n" |
| 961 |
" }\n" |
| 962 |
"\\&\n" |
| 963 |
" exit(EXIT_SUCCESS);\n" |
| 964 |
"}\n" |
| 965 |
msgstr "" |
| 966 |
"#include E<lt>stdcountof.hE<gt>\n" |
| 967 |
"#include E<lt>stdint.hE<gt>\n" |
| 968 |
"#include E<lt>stdio.hE<gt>\n" |
| 969 |
"#include E<lt>stdlib.hE<gt>\n" |
| 970 |
"#include E<lt>regex.hE<gt>\n" |
| 971 |
"\\&\n" |
| 972 |
"static const char *const str =\n" |
| 973 |
" \"1) John Driverhacker;\\[rs]n2) John Doe;\\[rs]n3) John Foo;\\[rs]n\";\n" |
| 974 |
"static const char *const re = \"John.*o\";\n" |
| 975 |
"\\&\n" |
| 976 |
"int main(void)\n" |
| 977 |
"{\n" |
| 978 |
" static const char *s = str;\n" |
| 979 |
" regex_t regex;\n" |
| 980 |
" regmatch_t pmatch[1];\n" |
| 981 |
" regoff_t off, len;\n" |
| 982 |
"\\&\n" |
| 983 |
" if (regcomp(®ex, re, REG_NEWLINE))\n" |
| 984 |
" exit(EXIT_FAILURE);\n" |
| 985 |
"\\&\n" |
| 986 |
" printf(\"Zeichenkette = \\[rs]\"%s\\[rs]\"\\[rs]n\", str);\n" |
| 987 |
" printf(\"Treffer:\\[rs]n\");\n" |
| 988 |
"\\&\n" |
| 989 |
" for (unsigned int i = 0; ; i++) {\n" |
| 990 |
" if (regexec(®ex, s, countof(pmatch), pmatch, 0))\n" |
| 991 |
" break;\n" |
| 992 |
"\\&\n" |
| 993 |
" off = pmatch[0].rm_so + (s - str);\n" |
| 994 |
" len = pmatch[0].rm_eo - pmatch[0].rm_so;\n" |
| 995 |
" printf(\"#%u:\\[rs]n\", i);\n" |
| 996 |
" printf(\"Versatz = %jd; Länge = %jd\\[rs]n\", (intmax_t) off,\n" |
| 997 |
" (intmax_t) len);\n" |
| 998 |
" printf(\"Teilzeichenkette = \\[rs]\"%.*s\\[rs]\"\\[rs]n\", len, s + pmatch[0].rm_so);\n" |
| 999 |
"\\&\n" |
| 1000 |
" s += pmatch[0].rm_eo;\n" |
| 1001 |
" }\n" |
| 1002 |
"\\&\n" |
| 1003 |
" exit(EXIT_SUCCESS);\n" |
| 1004 |
"}\n" |
| 1005 |
|
| 1006 |
#. type: SH |
| 1007 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1008 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1009 |
#, no-wrap |
| 1010 |
msgid "SEE ALSO" |
| 1011 |
msgstr "SIEHE AUCH" |
| 1012 |
|
| 1013 |
#. type: Plain text |
| 1014 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1015 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1016 |
msgid "B<grep>(1), B<regex>(7)" |
| 1017 |
msgstr "B<grep>(1), B<regex>(7)" |
| 1018 |
|
| 1019 |
#. type: Plain text |
| 1020 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1021 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1022 |
msgid "The glibc manual section, I<Regular Expressions>" |
| 1023 |
msgstr "Das Handbuch der Glibc, Abschnitt I<Regular Expressions>" |
| 1024 |
|
| 1025 |
#. type: TH |
| 1026 |
#: debian-trixie |
| 1027 |
#, no-wrap |
| 1028 |
msgid "2024-06-15" |
| 1029 |
msgstr "15. Juni 2024" |
| 1030 |
|
| 1031 |
#. type: TH |
| 1032 |
#: debian-trixie |
| 1033 |
#, no-wrap |
| 1034 |
msgid "Linux man-pages 6.9.1" |
| 1035 |
msgstr "Linux man-pages 6.9.1" |
| 1036 |
|
| 1037 |
#. type: Plain text |
| 1038 |
#: debian-trixie |
| 1039 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 1040 |
msgstr "Standard-C-Bibliothek (I<libc>, I<-lc>)" |
| 1041 |
|
| 1042 |
#. type: Plain text |
| 1043 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1044 |
#, no-wrap |
| 1045 |
msgid "" |
| 1046 |
"B<int regcomp(regex_t *restrict >I<preg>B<, const char *restrict >I<regex>B<,>\n" |
| 1047 |
"B< int >I<cflags>B<);>\n" |
| 1048 |
"B<int regexec(const regex_t *restrict >I<preg>B<, const char *restrict >I<string>B<,>\n" |
| 1049 |
"B< size_t >I<nmatch>B<, regmatch_t >I<pmatch>B<[_Nullable restrict .>I<nmatch>B<],>\n" |
| 1050 |
"B< int >I<eflags>B<);>\n" |
| 1051 |
msgstr "" |
| 1052 |
"B<int regcomp(regex_t *restrict >I<preg>B<, const char *restrict >I<regaus>B<,>\n" |
| 1053 |
"B< int >I<kschalter>B<);>\n" |
| 1054 |
"B<int regexec(const regex_t *restrict >I<preg>B<, const char *restrict >I<zeichenkette>B<,>\n" |
| 1055 |
"B< size_t >I<ntreffer>B<, regmatch_t >I<ptreffer>B<[_Nullable restrict .>I<ntreffer>B<],>\n" |
| 1056 |
"B< int >I<aschalter>B<);>\n" |
| 1057 |
|
| 1058 |
#. type: Plain text |
| 1059 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1060 |
#, no-wrap |
| 1061 |
msgid "" |
| 1062 |
"B<size_t regerror(int >I<errcode>B<, const regex_t *_Nullable restrict >I<preg>B<,>\n" |
| 1063 |
"B< char >I<errbuf>B<[_Nullable restrict .>I<errbuf_size>B<],>\n" |
| 1064 |
"B< size_t >I<errbuf_size>B<);>\n" |
| 1065 |
"B<void regfree(regex_t *>I<preg>B<);>\n" |
| 1066 |
msgstr "" |
| 1067 |
"B<size_t regerror(int >I<fehlercode>B<, const regex_t *_Nullable restrict >I<preg>B<,>\n" |
| 1068 |
"B< char >I<fehlerpuf>B<[_Nullable restrict .>I<fehlerpufgröße>B<],>\n" |
| 1069 |
"B< size_t >I<fehlerpufgröße>B<);>\n" |
| 1070 |
"B<void regfree(regex_t *>I<preg>B<);>\n" |
| 1071 |
|
| 1072 |
#. type: Plain text |
| 1073 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1074 |
msgid "" |
| 1075 |
"After B<regcomp>() succeeds, I<preg-E<gt>re_nsub> holds the number of " |
| 1076 |
"subexpressions in I<regex>. Thus, a value of I<preg-E<gt>re_nsub> + 1 " |
| 1077 |
"passed as I<nmatch> to B<regexec>() is sufficient to capture all matches." |
| 1078 |
msgstr "" |
| 1079 |
"Nachdem B<regcomp>() erfolgreich war, hält I<preg-E<gt>re_nsub> die Anzahl " |
| 1080 |
"der Unterausdrücke in I<regaus>. Daher reicht es aus, ein Wert I<preg-" |
| 1081 |
"E<gt>re_nsub> + 1 als I<ntreffer> an B<regexec>() zu übergeben, um alle " |
| 1082 |
"Treffer einzufangen." |
| 1083 |
|
| 1084 |
#. type: Plain text |
| 1085 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1086 |
msgid "" |
| 1087 |
"Report only overall success. B<regexec>() will use only I<pmatch> for " |
| 1088 |
"B<REG_STARTEND>, ignoring I<nmatch>." |
| 1089 |
msgstr "" |
| 1090 |
"Nur den Gesamterfolg berichten. B<regexec>() wird nur I<ptreffer> für " |
| 1091 |
"B<REG_STARTEND> verwenden und I<ntreffer> ignorieren." |
| 1092 |
|
| 1093 |
#. type: Plain text |
| 1094 |
#: debian-trixie |
| 1095 |
msgid "" |
| 1096 |
"B<regexec>() is used to match a null-terminated string against the compiled " |
| 1097 |
"pattern buffer in I<*preg>, which must have been initialised with " |
| 1098 |
"B<regexec>(). I<eflags> is the bitwise OR of zero or more of the following " |
| 1099 |
"flags:" |
| 1100 |
msgstr "" |
| 1101 |
"B<regexec>() wird zum Vergleich einer auf Nullbyte endenden Zeichenkette mit " |
| 1102 |
"dem kompilierten Musterpuffer in I<*preg>, der durch B<regexec>() " |
| 1103 |
"initialisiert sein muss. I<aschalter> ist das bitweise B<ODER> von null oder " |
| 1104 |
"mehreren der folgenden Schalter:" |
| 1105 |
|
| 1106 |
#. type: Plain text |
| 1107 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1108 |
msgid "" |
| 1109 |
"Match [I<string + pmatch[0].rm_so>,I< string + pmatch[0].rm_eo>) instead of " |
| 1110 |
"[I<string>,I< string + strlen(string)>). This allows matching embedded NUL " |
| 1111 |
"bytes and avoids a B<strlen>(3) on known-length strings. If any matches " |
| 1112 |
"are returned (B<REG_NOSUB> wasn't passed to B<regcomp>(), the match " |
| 1113 |
"succeeded, and I<nmatch> E<gt> 0), they overwrite I<pmatch> as usual, and " |
| 1114 |
"the match offsets remain relative to I<string> (not I<string + " |
| 1115 |
"pmatch[0].rm_so>). This flag is a BSD extension, not present in POSIX." |
| 1116 |
msgstr "" |
| 1117 |
"Passt auf [I<Zeichenkette + ptreffer[0].rm_so>,I< Zeichenkette + " |
| 1118 |
"ptreffer[0].rm_eo>) anstelle von [I<Zeichenkette>,I< Zeichenkette + " |
| 1119 |
"strlen(Zeichenkette)>). Dies ermöglicht den Vergleich mit Nullbytes und " |
| 1120 |
"vermeidet ein B<strlen>(3) bei Zeichenketten mit bekannter Länge. Falls " |
| 1121 |
"Treffer zurückgeliefert wurden (B<REG_NOSUB> wurde nicht an B<regcomp>() " |
| 1122 |
"übergeben, der Vergleich war erfolgreich und I<ntreffer> E<gt> 0) " |
| 1123 |
"überschreiben sie wie gewöhnlich I<ptreffer> und der Vergleichsversatz " |
| 1124 |
"bleibt relativ zu I<zeichenkette> (nicht I<zeichenkette + " |
| 1125 |
"ptreffer[0].rm_so>). Dieser Schalter ist eine BSD-Erweiterung und in POSIX " |
| 1126 |
"nicht vorhanden." |
| 1127 |
|
| 1128 |
#. type: Plain text |
| 1129 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1130 |
msgid "" |
| 1131 |
"Unless B<REG_NOSUB> was passed to B<regcomp>(), it is possible to obtain the " |
| 1132 |
"locations of matches within I<string>: B<regexec>() fills I<nmatch> " |
| 1133 |
"elements of I<pmatch> with results: I<pmatch[0]> corresponds to the entire " |
| 1134 |
"match, I<pmatch[1]> to the first subexpression, etc. If there were more " |
| 1135 |
"matches than I<nmatch>, they are discarded; if fewer, unused elements of " |
| 1136 |
"I<pmatch> are filled with B<-1>s." |
| 1137 |
msgstr "" |
| 1138 |
"Außer B<REG_NOSUB> wurde an B<regcomp>() übergeben, ist es möglich, den Ort " |
| 1139 |
"des Treffers innerhalb von I<zeichenkette> zu bestimmen: B<regexec>() füllt " |
| 1140 |
"I<ntreffer> Elemente von I<ptreffer> mit Ergebnissen: I<ptreffere[0]> " |
| 1141 |
"entspricht dem gesamten Treffer, I<ptreffer[1]> dem ersten Unterausdruck " |
| 1142 |
"usw. Falls es mehr Treffer als I<ntreffer> gab, werden diese verworfen; " |
| 1143 |
"falls weniger, werden unbenutzte Elemente von I<ptreffer> mit B<-1>en " |
| 1144 |
"gefüllt." |
| 1145 |
|
| 1146 |
#. type: Plain text |
| 1147 |
#: debian-trixie |
| 1148 |
#, no-wrap |
| 1149 |
msgid "" |
| 1150 |
"#include E<lt>stdint.hE<gt>\n" |
| 1151 |
"#include E<lt>stdio.hE<gt>\n" |
| 1152 |
"#include E<lt>stdlib.hE<gt>\n" |
| 1153 |
"#include E<lt>regex.hE<gt>\n" |
| 1154 |
"\\&\n" |
| 1155 |
"#define ARRAY_SIZE(arr) (sizeof((arr)) / sizeof((arr)[0]))\n" |
| 1156 |
"\\&\n" |
| 1157 |
"static const char *const str =\n" |
| 1158 |
" \"1) John Driverhacker;\\[rs]n2) John Doe;\\[rs]n3) John Foo;\\[rs]n\";\n" |
| 1159 |
"static const char *const re = \"John.*o\";\n" |
| 1160 |
"\\&\n" |
| 1161 |
"int main(void)\n" |
| 1162 |
"{\n" |
| 1163 |
" static const char *s = str;\n" |
| 1164 |
" regex_t regex;\n" |
| 1165 |
" regmatch_t pmatch[1];\n" |
| 1166 |
" regoff_t off, len;\n" |
| 1167 |
"\\&\n" |
| 1168 |
" if (regcomp(®ex, re, REG_NEWLINE))\n" |
| 1169 |
" exit(EXIT_FAILURE);\n" |
| 1170 |
"\\&\n" |
| 1171 |
" printf(\"String = \\[rs]\"%s\\[rs]\"\\[rs]n\", str);\n" |
| 1172 |
" printf(\"Matches:\\[rs]n\");\n" |
| 1173 |
"\\&\n" |
| 1174 |
" for (unsigned int i = 0; ; i++) {\n" |
| 1175 |
" if (regexec(®ex, s, ARRAY_SIZE(pmatch), pmatch, 0))\n" |
| 1176 |
" break;\n" |
| 1177 |
"\\&\n" |
| 1178 |
" off = pmatch[0].rm_so + (s - str);\n" |
| 1179 |
" len = pmatch[0].rm_eo - pmatch[0].rm_so;\n" |
| 1180 |
" printf(\"#%zu:\\[rs]n\", i);\n" |
| 1181 |
" printf(\"offset = %jd; length = %jd\\[rs]n\", (intmax_t) off,\n" |
| 1182 |
" (intmax_t) len);\n" |
| 1183 |
" printf(\"substring = \\[rs]\"%.*s\\[rs]\"\\[rs]n\", len, s + pmatch[0].rm_so);\n" |
| 1184 |
"\\&\n" |
| 1185 |
" s += pmatch[0].rm_eo;\n" |
| 1186 |
" }\n" |
| 1187 |
"\\&\n" |
| 1188 |
" exit(EXIT_SUCCESS);\n" |
| 1189 |
"}\n" |
| 1190 |
msgstr "" |
| 1191 |
"#include E<lt>stdint.hE<gt>\n" |
| 1192 |
"#include E<lt>stdio.hE<gt>\n" |
| 1193 |
"#include E<lt>stdlib.hE<gt>\n" |
| 1194 |
"#include E<lt>regex.hE<gt>\n" |
| 1195 |
"\\&\n" |
| 1196 |
"#define ARRAY_SIZE(arr) (sizeof((arr)) / sizeof((arr)[0]))\n" |
| 1197 |
"\\&\n" |
| 1198 |
"static const char *const str =\n" |
| 1199 |
" \"1) John Driverhacker;\\[rs]n2) John Doe;\\[rs]n3) John Foo;\\[rs]n\";\n" |
| 1200 |
"static const char *const re = \"John.*o\";\n" |
| 1201 |
"\\&\n" |
| 1202 |
"int main(void)\n" |
| 1203 |
"{\n" |
| 1204 |
" static const char *s = str;\n" |
| 1205 |
" regex_t regex;\n" |
| 1206 |
" regmatch_t pmatch[1];\n" |
| 1207 |
" regoff_t off, len;\n" |
| 1208 |
"\\&\n" |
| 1209 |
" if (regcomp(®ex, re, REG_NEWLINE))\n" |
| 1210 |
" exit(EXIT_FAILURE);\n" |
| 1211 |
"\\&\n" |
| 1212 |
" printf(\"Zeichenkette = \\[rs]\"%s\\[rs]\"\\[rs]n\", str);\n" |
| 1213 |
" printf(\"Treffer:\\[rs]n\");\n" |
| 1214 |
"\\&\n" |
| 1215 |
" for (unsigned int i = 0; ; i++) {\n" |
| 1216 |
" if (regexec(®ex, s, ARRAY_SIZE(pmatch), pmatch, 0))\n" |
| 1217 |
" break;\n" |
| 1218 |
"\\&\n" |
| 1219 |
" off = pmatch[0].rm_so + (s - str);\n" |
| 1220 |
" len = pmatch[0].rm_eo - pmatch[0].rm_so;\n" |
| 1221 |
" printf(\"#%zu:\\[rs]n\", i);\n" |
| 1222 |
" printf(\"Versatz = %jd; Länge = %jd\\[rs]n\", (intmax_t) off,\n" |
| 1223 |
" (intmax_t) len);\n" |
| 1224 |
" printf(\"Teilzeichenkette = \\[rs]\"%.*s\\[rs]\"\\[rs]n\", len, s + pmatch[0].rm_so);\n" |
| 1225 |
"\\&\n" |
| 1226 |
" s += pmatch[0].rm_eo;\n" |
| 1227 |
" }\n" |
| 1228 |
"\\&\n" |
| 1229 |
" exit(EXIT_SUCCESS);\n" |
| 1230 |
"}\n" |
| 1231 |
|
| 1232 |
#. type: TH |
| 1233 |
#: fedora-44 fedora-rawhide |
| 1234 |
#, no-wrap |
| 1235 |
msgid "2025-02-10" |
| 1236 |
msgstr "10. Februar 2025" |
| 1237 |
|
| 1238 |
#. type: TH |
| 1239 |
#: fedora-44 fedora-rawhide |
| 1240 |
#, no-wrap |
| 1241 |
msgid "Linux man-pages 6.13" |
| 1242 |
msgstr "Linux man-pages 6.13" |
| 1243 |
|
| 1244 |
#. type: Plain text |
| 1245 |
#: fedora-44 fedora-rawhide |
| 1246 |
#, no-wrap |
| 1247 |
msgid "" |
| 1248 |
"#include E<lt>stdint.hE<gt>\n" |
| 1249 |
"#include E<lt>stdio.hE<gt>\n" |
| 1250 |
"#include E<lt>stdlib.hE<gt>\n" |
| 1251 |
"#include E<lt>regex.hE<gt>\n" |
| 1252 |
"\\&\n" |
| 1253 |
"#define ARRAY_SIZE(arr) (sizeof((arr)) / sizeof((arr)[0]))\n" |
| 1254 |
"\\&\n" |
| 1255 |
"static const char *const str =\n" |
| 1256 |
" \"1) John Driverhacker;\\[rs]n2) John Doe;\\[rs]n3) John Foo;\\[rs]n\";\n" |
| 1257 |
"static const char *const re = \"John.*o\";\n" |
| 1258 |
"\\&\n" |
| 1259 |
"int main(void)\n" |
| 1260 |
"{\n" |
| 1261 |
" static const char *s = str;\n" |
| 1262 |
" regex_t regex;\n" |
| 1263 |
" regmatch_t pmatch[1];\n" |
| 1264 |
" regoff_t off, len;\n" |
| 1265 |
"\\&\n" |
| 1266 |
" if (regcomp(®ex, re, REG_NEWLINE))\n" |
| 1267 |
" exit(EXIT_FAILURE);\n" |
| 1268 |
"\\&\n" |
| 1269 |
" printf(\"String = \\[rs]\"%s\\[rs]\"\\[rs]n\", str);\n" |
| 1270 |
" printf(\"Matches:\\[rs]n\");\n" |
| 1271 |
"\\&\n" |
| 1272 |
" for (unsigned int i = 0; ; i++) {\n" |
| 1273 |
" if (regexec(®ex, s, ARRAY_SIZE(pmatch), pmatch, 0))\n" |
| 1274 |
" break;\n" |
| 1275 |
"\\&\n" |
| 1276 |
" off = pmatch[0].rm_so + (s - str);\n" |
| 1277 |
" len = pmatch[0].rm_eo - pmatch[0].rm_so;\n" |
| 1278 |
" printf(\"#%u:\\[rs]n\", i);\n" |
| 1279 |
" printf(\"offset = %jd; length = %jd\\[rs]n\", (intmax_t) off,\n" |
| 1280 |
" (intmax_t) len);\n" |
| 1281 |
" printf(\"substring = \\[rs]\"%.*s\\[rs]\"\\[rs]n\", len, s + pmatch[0].rm_so);\n" |
| 1282 |
"\\&\n" |
| 1283 |
" s += pmatch[0].rm_eo;\n" |
| 1284 |
" }\n" |
| 1285 |
"\\&\n" |
| 1286 |
" exit(EXIT_SUCCESS);\n" |
| 1287 |
"}\n" |
| 1288 |
msgstr "" |
| 1289 |
"#include E<lt>stdint.hE<gt>\n" |
| 1290 |
"#include E<lt>stdio.hE<gt>\n" |
| 1291 |
"#include E<lt>stdlib.hE<gt>\n" |
| 1292 |
"#include E<lt>regex.hE<gt>\n" |
| 1293 |
"\\&\n" |
| 1294 |
"#define ARRAY_SIZE(arr) (sizeof((arr)) / sizeof((arr)[0]))\n" |
| 1295 |
"\\&\n" |
| 1296 |
"static const char *const str =\n" |
| 1297 |
" \"1) John Driverhacker;\\[rs]n2) John Doe;\\[rs]n3) John Foo;\\[rs]n\";\n" |
| 1298 |
"static const char *const re = \"John.*o\";\n" |
| 1299 |
"\\&\n" |
| 1300 |
"int main(void)\n" |
| 1301 |
"{\n" |
| 1302 |
" static const char *s = str;\n" |
| 1303 |
" regex_t regex;\n" |
| 1304 |
" regmatch_t pmatch[1];\n" |
| 1305 |
" regoff_t off, len;\n" |
| 1306 |
"\\&\n" |
| 1307 |
" if (regcomp(®ex, re, REG_NEWLINE))\n" |
| 1308 |
" exit(EXIT_FAILURE);\n" |
| 1309 |
"\\&\n" |
| 1310 |
" printf(\"Zeichenkette = \\[rs]\"%s\\[rs]\"\\[rs]n\", str);\n" |
| 1311 |
" printf(\"Treffer:\\[rs]n\");\n" |
| 1312 |
"\\&\n" |
| 1313 |
" for (unsigned int i = 0; ; i++) {\n" |
| 1314 |
" if (regexec(®ex, s, ARRAY_SIZE(pmatch), pmatch, 0))\n" |
| 1315 |
" break;\n" |
| 1316 |
"\\&\n" |
| 1317 |
" off = pmatch[0].rm_so + (s - str);\n" |
| 1318 |
" len = pmatch[0].rm_eo - pmatch[0].rm_so;\n" |
| 1319 |
" printf(\"#%u:\\[rs]n\", i);\n" |
| 1320 |
" printf(\"Versatz = %jd; Länge = %jd\\[rs]n\", (intmax_t) off,\n" |
| 1321 |
" (intmax_t) len);\n" |
| 1322 |
" printf(\"Teilzeichenkette = \\[rs]\"%.*s\\[rs]\"\\[rs]n\", len, s + pmatch[0].rm_so);\n" |
| 1323 |
"\\&\n" |
| 1324 |
" s += pmatch[0].rm_eo;\n" |
| 1325 |
" }\n" |
| 1326 |
"\\&\n" |
| 1327 |
" exit(EXIT_SUCCESS);\n" |
| 1328 |
"}\n" |
| 1329 |
|
| 1330 |
#. type: TH |
| 1331 |
#: mageia-cauldron |
| 1332 |
#, no-wrap |
| 1333 |
msgid "2026-02-10" |
| 1334 |
msgstr "10. Februar 2026" |
| 1335 |
|
| 1336 |
#. type: TH |
| 1337 |
#: mageia-cauldron |
| 1338 |
#, no-wrap |
| 1339 |
msgid "Linux man-pages 6.17" |
| 1340 |
msgstr "Linux man-pages 6.17" |
| 1341 |
|
| 1342 |
#. type: Plain text |
| 1343 |
#: mageia-cauldron |
| 1344 |
msgid "" |
| 1345 |
"Match [I<string + pmatch[0].rm_so>,I< string + pmatch[0].rm_eo>) instead of " |
| 1346 |
"[I<string>,I< string + strlen(string)>). This allows matching embedded NUL " |
| 1347 |
"bytes and avoids a B<strlen>(3) on known-length strings. If any matches " |
| 1348 |
"are returned (B<REG_NOSUB> wasn't passed to B<regcomp>(), the match " |
| 1349 |
"succeeded, and I<n> E<gt> 0), they overwrite I<pmatch> as usual, and the " |
| 1350 |
"match offsets remain relative to I<string> (not I<string + " |
| 1351 |
"pmatch[0].rm_so>). This flag is a BSD extension, not present in POSIX." |
| 1352 |
msgstr "" |
| 1353 |
"Passt auf [I<Zeichenkette + ptreffer[0].rm_so>,I< Zeichenkette + " |
| 1354 |
"ptreffer[0].rm_eo>) anstelle von [I<Zeichenkette>,I< Zeichenkette + " |
| 1355 |
"strlen(Zeichenkette)>). Dies ermöglicht den Vergleich mit Nullbytes und " |
| 1356 |
"vermeidet ein B<strlen>(3) bei Zeichenketten mit bekannter Länge. Falls " |
| 1357 |
"Treffer zurückgeliefert wurden (B<REG_NOSUB> wurde nicht an B<regcomp>() " |
| 1358 |
"übergeben, der Vergleich war erfolgreich und I<n> E<gt> 0) überschreiben sie " |
| 1359 |
"wie gewöhnlich I<ptreffer> und der Vergleichsversatz bleibt relativ zu " |
| 1360 |
"I<zeichenkette> (nicht I<zeichenkette + ptreffer[0].rm_so>). Dieser Schalter " |
| 1361 |
"ist eine BSD-Erweiterung und in POSIX nicht vorhanden." |
| 1362 |
|
| 1363 |
#. type: TH |
| 1364 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1365 |
#, no-wrap |
| 1366 |
msgid "Linux man-pages (unreleased)" |
| 1367 |
msgstr "Linux man-pages (unveröffentlicht)" |