Provided by: manpages-zh_1.5.2-1_all bug

NAME

       regex - POSIX 1003.2

DESCRIPTION

         (``RE''s),  POSIX 1003.2  REs ( egrep 1003.2  ``extended'' REs "REs")
       REs ( ed(1) 1003.2   ``basic''  REs  "REs").    REs  1003.2   RE  `(!)'
       1003.2

       () RE (!) (!) branches  `|'

        branch (!)  pieces

        piece  atom (!) `*', `+', `?',  bound  `*'  `+'  `?'

        bound  `{'  `,'  `}'  0  RE_DUP_MAX (255(!)) () i i  i  j i  j

         `()'   ()   `()'  ()  bracket expression () `.' () `^' () `$' ()  `\'
       `^.[$()|*+?{\' ()  `\' ((!)  `\' (!))   ()  `{' (!)   `\'  RE

        bracket expression  `[]'  ()  `^'    ()  `-'  ()  ASCII   `[0-9]'  (!)
       `a-c-e'

       () `]'(`^')  `-'  `-'  `[.'  `.]'   collating element ()  `[' () `\'

        `[.'  `.]'  (collating element )  `ch'  `[[.ch.]]'*c'  `chchcc'

        `[='  `=]'  () ( `[.'  `.]' )  o  ^  `[[=o=]]'`[[=^=]]'  `[o^]' (!)

        `[:'  `:]'  character class()

              alnum       digit       punct
              alpha       graph       space
              blank       lower       upper
              cntrl       print       xdigit

        wctype(3)  locale()

       (!)    `[[:<:]]'   `[[:>:]]'  word () word character ()  word character
       () alnum  ( wctype(3) )  POSIX 1003.2

        RE RE  RE RE RE

        `bb*'   `abbbc'  `(wee|week)(knights|nights)'   `weeknights'  `(.*).*'
       `abc' `(a*)*'  `bc'  RE

        case-indepentent  `x'  `[xX]'  `[x]' `[xX]' `[^x]'  `[^xX]'

        RE 256  RE POSIX

         (``basic'')  `|'`+'  `?'   `\{'  `\}'`{'  `}'  `\('  `\)'`('  `)' `^'
       RE (!)  `$'  RE (!)  `*'  RE ( `^')  atom  back reference()`\'  d  d ()
       ()`\([bc]\)\1'  `bb'  `cc'  `bc'

SEE ALSO

       regex(3)

       POSIX 1003.2, section 2.8 (Regular Expression Notation).

BUGS

        REs

        1003.2  `)'  `('

        (`a\(\(b\)*\2\)*d'  `abbbd' )

       1003.2  ``one case implies all cases''

AUTHOR

       This page was taken from Henry Spencer's regex package.

[]

        <bbbush@163.com>

[]

       2004.02.24

linuxman:

       http://cmpp.linuxforum.net

                                  1994-02-07                          REGEX(7)