Debian Codegraph @

templates/man7/regex.7.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:39+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\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 ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "regex - POSIX.2 regular expressions"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "DESCRIPTION"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
61 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
62 msgid ""
63 "Regular expressions (\"RE\"s), as defined in POSIX.2, come in two forms: "
64 "modern REs (roughly those of B<egrep>(1); POSIX.2 calls these \"extended\" "
65 "REs) and obsolete REs (roughly those of B<ed>(1); POSIX.2 \"basic\" REs). "
66 "Obsolete REs mostly exist for backward compatibility in some old programs; "
67 "they will be discussed at the end. POSIX.2 leaves some aspects of RE syntax "
68 "and semantics open; \"\\*(dg\" marks decisions on these aspects that may not "
69 "be fully portable to other POSIX.2 implementations."
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 msgid ""
76 "A (modern) RE is one\\*(dg or more nonempty\\*(dg I<branches>, separated by "
77 "\\[aq]|\\[aq]. It matches anything that matches one of the branches."
78 msgstr ""
79
80 #. type: Plain text
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 msgid ""
84 "A branch is one\\*(dg or more I<pieces>, concatenated. It matches a match "
85 "for the first, followed by a match for the second, and so on."
86 msgstr ""
87
88 #. type: Plain text
89 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
90 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
91 msgid ""
92 "A piece is an I<atom> possibly followed by a single\\*(dg \\[aq]*\\[aq], \\"
93 "[aq]+\\[aq], \\[aq]?\\[aq], or I<bound>. An atom followed by \\[aq]*\\[aq] "
94 "matches a sequence of 0 or more matches of the atom. An atom followed by \\"
95 "[aq]+\\[aq] matches a sequence of 1 or more matches of the atom. An atom "
96 "followed by \\[aq]?\\[aq] matches a sequence of 0 or 1 matches of the atom."
97 msgstr ""
98
99 #. type: Plain text
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 msgid ""
103 "A I<bound> is \\[aq]{\\[aq] followed by an unsigned decimal integer, "
104 "possibly followed by \\[aq],\\[aq] possibly followed by another unsigned "
105 "decimal integer, always followed by \\[aq]}\\[aq]. The integers must lie "
106 "between 0 and B<RE_DUP_MAX> (255\\*(dg) inclusive, and if there are two of "
107 "them, the first may not exceed the second. An atom followed by a bound "
108 "containing one integer I<i> and no comma matches a sequence of exactly I<i> "
109 "matches of the atom. An atom followed by a bound containing one integer "
110 "I<i> and a comma matches a sequence of I<i> or more matches of the atom. An "
111 "atom followed by a bound containing two integers I<i> and I<j> matches a "
112 "sequence of I<i> through I<j> (inclusive) matches of the atom."
113 msgstr ""
114
115 #. type: Plain text
116 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
117 #: opensuse-tumbleweed
118 msgid ""
119 "An atom is a regular expression enclosed in \\[dq]I<()>\\[dq] (matching a "
120 "match for the regular expression), an empty set of \\[dq]I<()>\\[dq] "
121 "(matching the null string)\\*(dg, a I<bracket expression> (see below), \\"
122 "[aq].\\[aq] (matching any single character), \\[aq]\\[ha]\\[aq] (matching "
123 "the null string at the beginning of a line), \\[aq]$\\[aq] (matching the "
124 "null string at the end of a line), a \\[aq]\\[rs]\\[aq] followed by one of "
125 "the characters \\[dq]I<\\[ha].[$()|*+?{\\[rs]>\\[dq] (matching that "
126 "character taken as an ordinary character), a \\[aq]\\[rs]\\[aq] followed by "
127 "any other character\\*(dg (matching that character taken as an ordinary "
128 "character, as if the \\[aq]\\[rs]\\[aq] had not been present\\*(dg), or a "
129 "single character with no other significance (matching that character). A \\"
130 "[aq]{\\[aq] followed by a character other than a digit is an ordinary "
131 "character, not the beginning of a bound\\*(dg. It is illegal to end an RE "
132 "with \\[aq]\\[rs]\\[aq]."
133 msgstr ""
134
135 #. type: Plain text
136 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
137 #: opensuse-tumbleweed
138 msgid ""
139 "A I<bracket expression> is a list of characters enclosed in \\[dq]I<[]>\\"
140 "[dq]. It normally matches any single character from the list (but see "
141 "below). If the list begins with \\[aq]\\[ha]\\[aq], it matches any single "
142 "character (but see below) I<not> from the rest of the list. If two "
143 "characters in the list are separated by \\[aq]-\\[aq], this is shorthand for "
144 "the full I<range> of characters between those two (inclusive) in the "
145 "collating sequence, for example, \\[dq]I<[0-9]>\\[dq] in ASCII matches any "
146 "decimal digit. It is illegal\\*(dg for two ranges to share an endpoint, for "
147 "example, \\[dq]I<a-c-e>\\[dq]. Ranges are very collating-sequence-"
148 "dependent, and portable programs should avoid relying on them."
149 msgstr ""
150
151 #. type: Plain text
152 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
153 #: opensuse-tumbleweed
154 msgid ""
155 "To include a literal \\[aq]]\\[aq] in the list, make it the first character "
156 "(following a possible \\[aq]\\[ha]\\[aq]). To include a literal \\[aq]-\\"
157 "[aq], make it the first or last character, or the second endpoint of a "
158 "range. To use a literal \\[aq]-\\[aq] as the first endpoint of a range, "
159 "enclose it in \\[dq]I<[.>\\[dq] and \\[dq]I<.]>\\[dq] to make it a collating "
160 "element (see below). With the exception of these and some combinations "
161 "using \\[aq][\\[aq] (see next paragraphs), all other special characters, "
162 "including \\[aq]\\[rs]\\[aq], lose their special significance within a "
163 "bracket expression."
164 msgstr ""
165
166 #. type: Plain text
167 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
168 #: opensuse-tumbleweed
169 msgid ""
170 "Within a bracket expression, a collating element (a character, a "
171 "multicharacter sequence that collates as if it were a single character, or a "
172 "collating-sequence name for either) enclosed in \\[dq]I<[.>\\[dq] and \\"
173 "[dq]I<.]>\\[dq] stands for the sequence of characters of that collating "
174 "element. The sequence is a single element of the bracket expression's "
175 "list. A bracket expression containing a multicharacter collating element "
176 "can thus match more than one character, for example, if the collating "
177 "sequence includes a \"ch\" collating element, then the RE \\"
178 "[dq]I<[[.ch.]]*c>\\[dq] matches the first five characters of \"chchcc\"."
179 msgstr ""
180
181 #. type: Plain text
182 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
183 #: opensuse-tumbleweed
184 msgid ""
185 "Within a bracket expression, a collating element enclosed in \\[dq]I<[=>\\"
186 "[dq] and \\[dq]I<=]>\\[dq] is an equivalence class, standing for the "
187 "sequences of characters of all collating elements equivalent to that one, "
188 "including itself. (If there are no other equivalent collating elements, the "
189 "treatment is as if the enclosing delimiters were \\[dq]I<[.>\\[dq] and \\"
190 "[dq]I<.]>\\[dq].) For example, if o and \\(^o are the members of an "
191 "equivalence class, then \\[dq]I<[[=o=]]>\\[dq], \\[dq]I<[[=\\(^o=]]>\\[dq], "
192 "and \\[dq]I<[o\\(^o]>\\[dq] are all synonymous. An equivalence class may "
193 "not\\*(dg be an endpoint of a range."
194 msgstr ""
195
196 #. type: Plain text
197 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
198 #: opensuse-tumbleweed
199 msgid ""
200 "Within a bracket expression, the name of a I<character class> enclosed in \\"
201 "[dq]I<[:>\\[dq] and \\[dq]I<:]>\\[dq] stands for the list of all characters "
202 "belonging to that class. Standard character class names are:"
203 msgstr ""
204
205 #. type: tbl table
206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
208 #, no-wrap
209 msgid "alnum"
210 msgstr ""
211
212 #. type: tbl table
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 #, no-wrap
216 msgid "digit"
217 msgstr ""
218
219 #. type: tbl table
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 #, no-wrap
223 msgid "punct"
224 msgstr ""
225
226 #. type: tbl table
227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
229 #, no-wrap
230 msgid "alpha"
231 msgstr ""
232
233 #. type: tbl table
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 #, no-wrap
237 msgid "graph"
238 msgstr ""
239
240 #. type: tbl table
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 #, no-wrap
244 msgid "space"
245 msgstr ""
246
247 #. type: tbl table
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 #, no-wrap
251 msgid "blank"
252 msgstr ""
253
254 #. type: tbl table
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 #, no-wrap
258 msgid "lower"
259 msgstr ""
260
261 #. type: tbl table
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 #, no-wrap
265 msgid "upper"
266 msgstr ""
267
268 #. type: tbl table
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 #, no-wrap
272 msgid "cntrl"
273 msgstr ""
274
275 #. type: tbl table
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 #, no-wrap
279 msgid "print"
280 msgstr ""
281
282 #. type: tbl table
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 #, no-wrap
286 msgid "xdigit"
287 msgstr ""
288
289 #. #-#-#-#-# archlinux: regex.7.pot (PACKAGE VERSION) #-#-#-#-#
290 #. As per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=295666
291 #. The following does not seem to apply in the glibc implementation
292 #. .P
293 #. There are two special cases\*(dg of bracket expressions:
294 #. the bracket expressions
295 #. .RI \[dq] [[:<:]] \[dq]
296 #. and
297 #. .RI \[dq] [[:>:]] \[dq]
298 #. match the null string at the beginning and end of a word respectively.
299 #. A word is defined as a sequence of
300 #. word characters
301 #. which is neither preceded nor followed by
302 #. word characters.
303 #. A word character is an
304 #. .I alnum
305 #. character (as defined by
306 #. .BR wctype (3))
307 #. or an underscore.
308 #. This is an extension,
309 #. compatible with but not specified by POSIX.2,
310 #. and should be used with
311 #. caution in software intended to be portable to other systems.
312 #. type: Plain text
313 #. #-#-#-#-# debian-trixie: regex.7.pot (PACKAGE VERSION) #-#-#-#-#
314 #. As per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=295666
315 #. The following does not seem to apply in the glibc implementation
316 #. .P
317 #. There are two special cases\*(dg of bracket expressions:
318 #. the bracket expressions "\fI[[:<:]]\fP" and "\fI[[:>:]]\fP" match
319 #. the null string at the beginning and end of a word respectively.
320 #. A word is defined as a sequence of
321 #. word characters
322 #. which is neither preceded nor followed by
323 #. word characters.
324 #. A word character is an
325 #. .I alnum
326 #. character (as defined by
327 #. .BR wctype (3))
328 #. or an underscore.
329 #. This is an extension,
330 #. compatible with but not specified by POSIX.2,
331 #. and should be used with
332 #. caution in software intended to be portable to other systems.
333 #. type: Plain text
334 #. #-#-#-#-# debian-unstable: regex.7.pot (PACKAGE VERSION) #-#-#-#-#
335 #. As per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=295666
336 #. The following does not seem to apply in the glibc implementation
337 #. .P
338 #. There are two special cases\*(dg of bracket expressions:
339 #. the bracket expressions
340 #. .RI \[dq] [[:<:]] \[dq]
341 #. and
342 #. .RI \[dq] [[:>:]] \[dq]
343 #. match the null string at the beginning and end of a word respectively.
344 #. A word is defined as a sequence of
345 #. word characters
346 #. which is neither preceded nor followed by
347 #. word characters.
348 #. A word character is an
349 #. .I alnum
350 #. character (as defined by
351 #. .BR wctype (3))
352 #. or an underscore.
353 #. This is an extension,
354 #. compatible with but not specified by POSIX.2,
355 #. and should be used with
356 #. caution in software intended to be portable to other systems.
357 #. type: Plain text
358 #. #-#-#-#-# fedora-44: regex.7.pot (PACKAGE VERSION) #-#-#-#-#
359 #. As per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=295666
360 #. The following does not seem to apply in the glibc implementation
361 #. .P
362 #. There are two special cases\*(dg of bracket expressions:
363 #. the bracket expressions "\fI[[:<:]]\fP" and "\fI[[:>:]]\fP" match
364 #. the null string at the beginning and end of a word respectively.
365 #. A word is defined as a sequence of
366 #. word characters
367 #. which is neither preceded nor followed by
368 #. word characters.
369 #. A word character is an
370 #. .I alnum
371 #. character (as defined by
372 #. .BR wctype (3))
373 #. or an underscore.
374 #. This is an extension,
375 #. compatible with but not specified by POSIX.2,
376 #. and should be used with
377 #. caution in software intended to be portable to other systems.
378 #. type: Plain text
379 #. #-#-#-#-# fedora-rawhide: regex.7.pot (PACKAGE VERSION) #-#-#-#-#
380 #. As per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=295666
381 #. The following does not seem to apply in the glibc implementation
382 #. .P
383 #. There are two special cases\*(dg of bracket expressions:
384 #. the bracket expressions "\fI[[:<:]]\fP" and "\fI[[:>:]]\fP" match
385 #. the null string at the beginning and end of a word respectively.
386 #. A word is defined as a sequence of
387 #. word characters
388 #. which is neither preceded nor followed by
389 #. word characters.
390 #. A word character is an
391 #. .I alnum
392 #. character (as defined by
393 #. .BR wctype (3))
394 #. or an underscore.
395 #. This is an extension,
396 #. compatible with but not specified by POSIX.2,
397 #. and should be used with
398 #. caution in software intended to be portable to other systems.
399 #. type: Plain text
400 #. #-#-#-#-# mageia-cauldron: regex.7.pot (PACKAGE VERSION) #-#-#-#-#
401 #. As per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=295666
402 #. The following does not seem to apply in the glibc implementation
403 #. .P
404 #. There are two special cases\*(dg of bracket expressions:
405 #. the bracket expressions
406 #. .RI \[dq] [[:<:]] \[dq]
407 #. and
408 #. .RI \[dq] [[:>:]] \[dq]
409 #. match the null string at the beginning and end of a word respectively.
410 #. A word is defined as a sequence of
411 #. word characters
412 #. which is neither preceded nor followed by
413 #. word characters.
414 #. A word character is an
415 #. .I alnum
416 #. character (as defined by
417 #. .BR wctype (3))
418 #. or an underscore.
419 #. This is an extension,
420 #. compatible with but not specified by POSIX.2,
421 #. and should be used with
422 #. caution in software intended to be portable to other systems.
423 #. type: Plain text
424 #. #-#-#-#-# opensuse-leap-16-1: regex.7.pot (PACKAGE VERSION) #-#-#-#-#
425 #. As per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=295666
426 #. The following does not seem to apply in the glibc implementation
427 #. .P
428 #. There are two special cases\*(dg of bracket expressions:
429 #. the bracket expressions
430 #. .RI \[dq] [[:<:]] \[dq]
431 #. and
432 #. .RI \[dq] [[:>:]] \[dq]
433 #. match the null string at the beginning and end of a word respectively.
434 #. A word is defined as a sequence of
435 #. word characters
436 #. which is neither preceded nor followed by
437 #. word characters.
438 #. A word character is an
439 #. .I alnum
440 #. character (as defined by
441 #. .BR wctype (3))
442 #. or an underscore.
443 #. This is an extension,
444 #. compatible with but not specified by POSIX.2,
445 #. and should be used with
446 #. caution in software intended to be portable to other systems.
447 #. type: Plain text
448 #. #-#-#-#-# opensuse-tumbleweed: regex.7.pot (PACKAGE VERSION) #-#-#-#-#
449 #. As per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=295666
450 #. The following does not seem to apply in the glibc implementation
451 #. .P
452 #. There are two special cases\*(dg of bracket expressions:
453 #. the bracket expressions
454 #. .RI \[dq] [[:<:]] \[dq]
455 #. and
456 #. .RI \[dq] [[:>:]] \[dq]
457 #. match the null string at the beginning and end of a word respectively.
458 #. A word is defined as a sequence of
459 #. word characters
460 #. which is neither preceded nor followed by
461 #. word characters.
462 #. A word character is an
463 #. .I alnum
464 #. character (as defined by
465 #. .BR wctype (3))
466 #. or an underscore.
467 #. This is an extension,
468 #. compatible with but not specified by POSIX.2,
469 #. and should be used with
470 #. caution in software intended to be portable to other systems.
471 #. type: Plain text
472 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
473 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
474 msgid ""
475 "These stand for the character classes defined in B<wctype>(3). A locale may "
476 "provide others. A character class may not be used as an endpoint of a range."
477 msgstr ""
478
479 #. type: Plain text
480 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
481 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
482 msgid ""
483 "In the event that an RE could match more than one substring of a given "
484 "string, the RE matches the one starting earliest in the string. If the RE "
485 "could match more than one substring starting at that point, it matches the "
486 "longest. Subexpressions also match the longest possible substrings, subject "
487 "to the constraint that the whole match be as long as possible, with "
488 "subexpressions starting earlier in the RE taking priority over ones starting "
489 "later. Note that higher-level subexpressions thus take priority over their "
490 "lower-level component subexpressions."
491 msgstr ""
492
493 #. type: Plain text
494 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
495 #: opensuse-tumbleweed
496 msgid ""
497 "Match lengths are measured in characters, not collating elements. A null "
498 "string is considered longer than no match at all. For example, \\"
499 "[dq]I<bb*>\\[dq] matches the three middle characters of \"abbbc\", \\"
500 "[dq]I<(wee|week)(knights|nights)>\\[dq] matches all ten characters of "
501 "\"weeknights\", when \\[dq]I<(.*).*>\\[dq] is matched against \"abc\" the "
502 "parenthesized subexpression matches all three characters, and when \\"
503 "[dq]I<(a*)*>\\[dq] is matched against \"bc\" both the whole RE and the "
504 "parenthesized subexpression match the null string."
505 msgstr ""
506
507 #. type: Plain text
508 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
509 #: opensuse-tumbleweed
510 msgid ""
511 "If case-independent matching is specified, the effect is much as if all case "
512 "distinctions had vanished from the alphabet. When an alphabetic that exists "
513 "in multiple cases appears as an ordinary character outside a bracket "
514 "expression, it is effectively transformed into a bracket expression "
515 "containing both cases, for example, \\[aq]x\\[aq] becomes \\[dq]I<[xX]>\\"
516 "[dq]. When it appears inside a bracket expression, all case counterparts of "
517 "it are added to the bracket expression, so that, for example, \\[dq]I<[x]>\\"
518 "[dq] becomes \\[dq]I<[xX]>\\[dq] and \\[dq]I<[\\[ha]x]>\\[dq] becomes \\"
519 "[dq]I<[\\[ha]xX]>\\[dq]."
520 msgstr ""
521
522 #. type: Plain text
523 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
524 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
525 msgid ""
526 "No particular limit is imposed on the length of REs\\*(dg. Programs "
527 "intended to be portable should not employ REs longer than 256 bytes, as an "
528 "implementation can refuse to accept such REs and remain POSIX-compliant."
529 msgstr ""
530
531 #. type: Plain text
532 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
533 #: opensuse-tumbleweed
534 msgid ""
535 "Obsolete (\"basic\") regular expressions differ in several respects. \\[aq]|"
536 "\\[aq], \\[aq]+\\[aq], and \\[aq]?\\[aq] are ordinary characters and there "
537 "is no equivalent for their functionality. The delimiters for bounds are \\"
538 "[dq]I<\\[rs]{>\\[dq] and \\[dq]I<\\[rs]}>\\[dq], with \\[aq]{\\[aq] and \\"
539 "[aq]}\\[aq] by themselves ordinary characters. The parentheses for nested "
540 "subexpressions are \\[dq]I<\\[rs](>\\[dq] and \\[dq]I<\\[rs])>\\[dq], with \\"
541 "[aq](\\[aq] and \\[aq])\\[aq] by themselves ordinary characters. \\[aq]\\"
542 "[ha]\\[aq] is an ordinary character except at the beginning of the RE "
543 "or\\*(dg the beginning of a parenthesized subexpression, \\[aq]$\\[aq] is an "
544 "ordinary character except at the end of the RE or\\*(dg the end of a "
545 "parenthesized subexpression, and \\[aq]*\\[aq] is an ordinary character if "
546 "it appears at the beginning of the RE or the beginning of a parenthesized "
547 "subexpression (after a possible leading \\[aq]\\[ha]\\[aq])."
548 msgstr ""
549
550 #. type: Plain text
551 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
552 #: opensuse-tumbleweed
553 msgid ""
554 "Finally, there is one new type of atom, a I<back reference>: \\[aq]\\[rs]\\"
555 "[aq] followed by a nonzero decimal digit I<d> matches the same sequence of "
556 "characters matched by the I<d>th parenthesized subexpression (numbering "
557 "subexpressions by the positions of their opening parentheses, left to "
558 "right), so that, for example, \\[dq]I<\\[rs]([bc]\\[rs])\\[rs]1>\\[dq] "
559 "matches \"bb\" or \"cc\" but not \"bc\"."
560 msgstr ""
561
562 #. type: SH
563 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
564 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
565 #, no-wrap
566 msgid "BUGS"
567 msgstr ""
568
569 #. type: Plain text
570 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
571 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
572 msgid "Having two kinds of REs is a botch."
573 msgstr ""
574
575 #. type: Plain text
576 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
577 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
578 msgid ""
579 "The current POSIX.2 spec says that \\[aq])\\[aq] is an ordinary character in "
580 "the absence of an unmatched \\[aq](\\[aq]; this was an unintentional result "
581 "of a wording error, and change is likely. Avoid relying on it."
582 msgstr ""
583
584 #. type: Plain text
585 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
586 #: opensuse-tumbleweed
587 msgid ""
588 "Back references are a dreadful botch, posing major problems for efficient "
589 "implementations. They are also somewhat vaguely defined (does \\[dq]I<a\\"
590 "[rs](\\[rs](b\\[rs])*\\[rs]2\\[rs])*d>\\[dq] match \"abbbd\"?). Avoid using "
591 "them."
592 msgstr ""
593
594 #. As per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=295666
595 #. The following does not seem to apply in the glibc implementation
596 #. .P
597 #. The syntax for word boundaries is incredibly ugly.
598 #. type: Plain text
599 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
600 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
601 msgid ""
602 "POSIX.2's specification of case-independent matching is vague. The \"one "
603 "case implies all cases\" definition given above is current consensus among "
604 "implementors as to the right interpretation."
605 msgstr ""
606
607 #. type: SH
608 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
609 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
610 #, no-wrap
611 msgid "AUTHOR"
612 msgstr ""
613
614 #. #-#-#-#-# archlinux: regex.7.pot (PACKAGE VERSION) #-#-#-#-#
615 #. In order to comply with `credits must appear in the documentation'
616 #. I added an AUTHOR paragraph - aeb.
617 #. Sigh... The page license means we must have the author's name
618 #. in the formatted output.
619 #. type: Plain text
620 #. #-#-#-#-# debian-trixie: regex.7.pot (PACKAGE VERSION) #-#-#-#-#
621 #. Sigh... The page license means we must have the author's name
622 #. in the formatted output.
623 #. type: Plain text
624 #. #-#-#-#-# debian-unstable: regex.7.pot (PACKAGE VERSION) #-#-#-#-#
625 #. In order to comply with `credits must appear in the documentation'
626 #. I added an AUTHOR paragraph - aeb.
627 #. Sigh... The page license means we must have the author's name
628 #. in the formatted output.
629 #. type: Plain text
630 #. #-#-#-#-# fedora-44: regex.7.pot (PACKAGE VERSION) #-#-#-#-#
631 #. Sigh... The page license means we must have the author's name
632 #. in the formatted output.
633 #. type: Plain text
634 #. #-#-#-#-# fedora-rawhide: regex.7.pot (PACKAGE VERSION) #-#-#-#-#
635 #. Sigh... The page license means we must have the author's name
636 #. in the formatted output.
637 #. type: Plain text
638 #. #-#-#-#-# mageia-cauldron: regex.7.pot (PACKAGE VERSION) #-#-#-#-#
639 #. In order to comply with `credits must appear in the documentation'
640 #. I added an AUTHOR paragraph - aeb.
641 #. Sigh... The page license means we must have the author's name
642 #. in the formatted output.
643 #. type: Plain text
644 #. #-#-#-#-# opensuse-leap-16-1: regex.7.pot (PACKAGE VERSION) #-#-#-#-#
645 #. In order to comply with `credits must appear in the documentation'
646 #. I added an AUTHOR paragraph - aeb.
647 #. Sigh... The page license means we must have the author's name
648 #. in the formatted output.
649 #. type: Plain text
650 #. #-#-#-#-# opensuse-tumbleweed: regex.7.pot (PACKAGE VERSION) #-#-#-#-#
651 #. In order to comply with `credits must appear in the documentation'
652 #. I added an AUTHOR paragraph - aeb.
653 #. Sigh... The page license means we must have the author's name
654 #. in the formatted output.
655 #. type: Plain text
656 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
657 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
658 msgid "This page was taken from Henry Spencer's regex package."
659 msgstr ""
660
661 #. type: SH
662 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
663 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
664 #, no-wrap
665 msgid "SEE ALSO"
666 msgstr ""
667
668 #. type: Plain text
669 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
670 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
671 msgid "B<grep>(1), B<regex>(3)"
672 msgstr ""
673
674 #. type: Plain text
675 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
676 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
677 msgid "POSIX.2, section 2.8 (Regular Expression Notation)."
678 msgstr ""
679
680 #. type: TH
681 #: debian-trixie fedora-44 fedora-rawhide
682 #, no-wrap
683 msgid "2024-06-15"
684 msgstr ""
685
686 #. type: TH
687 #: debian-trixie
688 #, no-wrap
689 msgid "Linux man-pages 6.9.1"
690 msgstr ""
691
692 #. type: Plain text
693 #: debian-trixie fedora-44 fedora-rawhide
694 msgid ""
695 "An atom is a regular expression enclosed in \"I<()>\" (matching a match for "
696 "the regular expression), an empty set of \"I<()>\" (matching the null string)"
697 "\\*(dg, a I<bracket expression> (see below), \\[aq].\\[aq] (matching any "
698 "single character), \\[aq]\\[ha]\\[aq] (matching the null string at the "
699 "beginning of a line), \\[aq]$\\[aq] (matching the null string at the end of "
700 "a line), a \\[aq]\\[rs]\\[aq] followed by one of the characters \"I<\\[ha].[$"
701 "()|*+?{\\[rs]>\" (matching that character taken as an ordinary character), a "
702 "\\[aq]\\[rs]\\[aq] followed by any other character\\*(dg (matching that "
703 "character taken as an ordinary character, as if the \\[aq]\\[rs]\\[aq] had "
704 "not been present\\*(dg), or a single character with no other significance "
705 "(matching that character). A \\[aq]{\\[aq] followed by a character other "
706 "than a digit is an ordinary character, not the beginning of a bound\\*(dg. "
707 "It is illegal to end an RE with \\[aq]\\[rs]\\[aq]."
708 msgstr ""
709
710 #. type: Plain text
711 #: debian-trixie fedora-44 fedora-rawhide
712 msgid ""
713 "A I<bracket expression> is a list of characters enclosed in \"I<[]>\". It "
714 "normally matches any single character from the list (but see below). If the "
715 "list begins with \\[aq]\\[ha]\\[aq], it matches any single character (but "
716 "see below) I<not> from the rest of the list. If two characters in the list "
717 "are separated by \\[aq]-\\[aq], this is shorthand for the full I<range> of "
718 "characters between those two (inclusive) in the collating sequence, for "
719 "example, \"I<[0-9]>\" in ASCII matches any decimal digit. It is "
720 "illegal\\*(dg for two ranges to share an endpoint, for example, \"I<a-c-"
721 "e>\". Ranges are very collating-sequence-dependent, and portable programs "
722 "should avoid relying on them."
723 msgstr ""
724
725 #. type: Plain text
726 #: debian-trixie fedora-44 fedora-rawhide
727 msgid ""
728 "To include a literal \\[aq]]\\[aq] in the list, make it the first character "
729 "(following a possible \\[aq]\\[ha]\\[aq]). To include a literal \\[aq]-\\"
730 "[aq], make it the first or last character, or the second endpoint of a "
731 "range. To use a literal \\[aq]-\\[aq] as the first endpoint of a range, "
732 "enclose it in \"I<[.>\" and \"I<.]>\" to make it a collating element (see "
733 "below). With the exception of these and some combinations using \\[aq][\\"
734 "[aq] (see next paragraphs), all other special characters, including \\[aq]\\"
735 "[rs]\\[aq], lose their special significance within a bracket expression."
736 msgstr ""
737
738 #. type: Plain text
739 #: debian-trixie fedora-44 fedora-rawhide
740 msgid ""
741 "Within a bracket expression, a collating element (a character, a "
742 "multicharacter sequence that collates as if it were a single character, or a "
743 "collating-sequence name for either) enclosed in \"I<[.>\" and \"I<.]>\" "
744 "stands for the sequence of characters of that collating element. The "
745 "sequence is a single element of the bracket expression's list. A bracket "
746 "expression containing a multicharacter collating element can thus match more "
747 "than one character, for example, if the collating sequence includes a \"ch\" "
748 "collating element, then the RE \"I<[[.ch.]]*c>\" matches the first five "
749 "characters of \"chchcc\"."
750 msgstr ""
751
752 #. type: Plain text
753 #: debian-trixie fedora-44 fedora-rawhide
754 msgid ""
755 "Within a bracket expression, a collating element enclosed in \"I<[=>\" and "
756 "\"I<=]>\" is an equivalence class, standing for the sequences of characters "
757 "of all collating elements equivalent to that one, including itself. (If "
758 "there are no other equivalent collating elements, the treatment is as if the "
759 "enclosing delimiters were \"I<[.>\" and \"I<.]>\".) For example, if o and \\"
760 "(^o are the members of an equivalence class, then \"I<[[=o=]]>\", \"I<[[=\\"
761 "(^o=]]>\", and \"I<[o\\(^o]>\" are all synonymous. An equivalence class may "
762 "not\\*(dg be an endpoint of a range."
763 msgstr ""
764
765 #. type: Plain text
766 #: debian-trixie fedora-44 fedora-rawhide
767 msgid ""
768 "Within a bracket expression, the name of a I<character class> enclosed in "
769 "\"I<[:>\" and \"I<:]>\" stands for the list of all characters belonging to "
770 "that class. Standard character class names are:"
771 msgstr ""
772
773 #. type: Plain text
774 #: debian-trixie fedora-44 fedora-rawhide
775 msgid ""
776 "Match lengths are measured in characters, not collating elements. A null "
777 "string is considered longer than no match at all. For example, \"I<bb*>\" "
778 "matches the three middle characters of \"abbbc\", \"I<(wee|week)(knights|"
779 "nights)>\" matches all ten characters of \"weeknights\", when \"I<(.*).*>\" "
780 "is matched against \"abc\" the parenthesized subexpression matches all three "
781 "characters, and when \"I<(a*)*>\" is matched against \"bc\" both the whole "
782 "RE and the parenthesized subexpression match the null string."
783 msgstr ""
784
785 #. type: Plain text
786 #: debian-trixie fedora-44 fedora-rawhide
787 msgid ""
788 "If case-independent matching is specified, the effect is much as if all case "
789 "distinctions had vanished from the alphabet. When an alphabetic that exists "
790 "in multiple cases appears as an ordinary character outside a bracket "
791 "expression, it is effectively transformed into a bracket expression "
792 "containing both cases, for example, \\[aq]x\\[aq] becomes \"I<[xX]>\". When "
793 "it appears inside a bracket expression, all case counterparts of it are "
794 "added to the bracket expression, so that, for example, \"I<[x]>\" becomes "
795 "\"I<[xX]>\" and \"I<[\\[ha]x]>\" becomes \"I<[\\[ha]xX]>\"."
796 msgstr ""
797
798 #. type: Plain text
799 #: debian-trixie fedora-44 fedora-rawhide
800 msgid ""
801 "Obsolete (\"basic\") regular expressions differ in several respects. \\[aq]|"
802 "\\[aq], \\[aq]+\\[aq], and \\[aq]?\\[aq] are ordinary characters and there "
803 "is no equivalent for their functionality. The delimiters for bounds are "
804 "\"I<\\[rs]{>\" and \"I<\\[rs]}>\", with \\[aq]{\\[aq] and \\[aq]}\\[aq] by "
805 "themselves ordinary characters. The parentheses for nested subexpressions "
806 "are \"I<\\[rs](>\" and \"I<\\[rs])>\", with \\[aq](\\[aq] and \\[aq])\\[aq] "
807 "by themselves ordinary characters. \\[aq]\\[ha]\\[aq] is an ordinary "
808 "character except at the beginning of the RE or\\*(dg the beginning of a "
809 "parenthesized subexpression, \\[aq]$\\[aq] is an ordinary character except "
810 "at the end of the RE or\\*(dg the end of a parenthesized subexpression, and "
811 "\\[aq]*\\[aq] is an ordinary character if it appears at the beginning of the "
812 "RE or the beginning of a parenthesized subexpression (after a possible "
813 "leading \\[aq]\\[ha]\\[aq])."
814 msgstr ""
815
816 #. type: Plain text
817 #: debian-trixie fedora-44 fedora-rawhide
818 msgid ""
819 "Finally, there is one new type of atom, a I<back reference>: \\[aq]\\[rs]\\"
820 "[aq] followed by a nonzero decimal digit I<d> matches the same sequence of "
821 "characters matched by the I<d>th parenthesized subexpression (numbering "
822 "subexpressions by the positions of their opening parentheses, left to "
823 "right), so that, for example, I<\\[dq]\\[rs]([bc]\\[rs])\\[rs]1\\[dq]> "
824 "matches I<\\[dq]bb\\[dq]> or I<\\[dq]cc\\[dq]> but not I<\\[dq]bc\\[dq]>."
825 msgstr ""
826
827 #. type: Plain text
828 #: debian-trixie fedora-44 fedora-rawhide
829 msgid ""
830 "Back references are a dreadful botch, posing major problems for efficient "
831 "implementations. They are also somewhat vaguely defined (does \"I<a\\[rs](\\"
832 "[rs](b\\[rs])*\\[rs]2\\[rs])*d>\" match \"abbbd\"?). Avoid using them."
833 msgstr ""
834
835 #. type: TH
836 #: fedora-44 fedora-rawhide
837 #, no-wrap
838 msgid "Linux man-pages 6.13"
839 msgstr ""
840
841 #. type: TH
842 #: mageia-cauldron
843 #, no-wrap
844 msgid "Linux man-pages 6.17"
845 msgstr ""
846
847 #. type: TH
848 #: opensuse-leap-16-1 opensuse-tumbleweed
849 #, no-wrap
850 msgid "Linux man-pages (unreleased)"
851 msgstr ""