diff options
| author | Giorgos Keramidas <keramida@FreeBSD.org> | 2008-09-05 17:41:20 +0000 |
|---|---|---|
| committer | Giorgos Keramidas <keramida@FreeBSD.org> | 2008-09-05 17:41:20 +0000 |
| commit | 0efdfdee5f888ed1f75e18910912294b45b55ccd (patch) | |
| tree | 346186e191396ce2de5eec81ec821940f1516581 /lib/libc/regex | |
| parent | 35fa2f1bcd7eb4417ab74178b9803ef1f2f1cc14 (diff) | |
Notes
Diffstat (limited to 'lib/libc/regex')
| -rw-r--r-- | lib/libc/regex/re_format.7 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libc/regex/re_format.7 b/lib/libc/regex/re_format.7 index d4555a02d0a68..463c6a27969ee 100644 --- a/lib/libc/regex/re_format.7 +++ b/lib/libc/regex/re_format.7 @@ -288,6 +288,14 @@ These stand for the character classes defined in A locale may provide others. A character class may not be used as an endpoint of a range. .Pp +A bracketed expression like +.Ql [[:class:]] +can be used to match a single character that belongs to a character +class. +The reverse, matching any character that does not belong to a specific +class, the negation operator of bracket expressions may be used: +.Ql [^[:class:]] . +.Pp There are two special cases\(dd of bracket expressions: the bracket expressions .Ql [[:<:]] |
