Blame NEW/basic_RE

Packit Service 603f59
       Obsolete (``basic'') regular expressions differ in several
Packit Service 603f59
       respects.   `|',  `+', and `?' are ordinary characters and
Packit Service 603f59
       there is  no  equivalent  for  their  functionality.   The
Packit Service 603f59
       delimiters  for bounds are `\{' and `\}', with `{' and `}'
Packit Service 603f59
       by themselves ordinary characters.   The  parentheses  for
Packit Service 603f59
       nested  subexpressions are `\(' and `\)', with `(' and `)'
Packit Service 603f59
       by themselves ordinary characters.   `^'  is  an  ordinary
Packit Service 603f59
       character  except at the beginning of the RE or the begin<AD>
Packit Service 603f59
       ning of a parenthesized subexpression, `$' is an  ordinary
Packit Service 603f59
       character  except  at  the  end  of the RE or the end of a
Packit Service 603f59
       parenthesized subexpression, and `*' is an ordinary  char<AD>
Packit Service 603f59
       acter  if  it  appears  at  the beginning of the RE or the
Packit Service 603f59
       beginning of a parenthesized subexpression (after a possi<AD>
Packit Service 603f59
       ble leading `^').  Finally, there is one new type of atom,
Packit Service 603f59
       a back reference: `\' followed by a non-zero decimal digit
Packit Service 603f59
       d  matches  the same sequence of characters matched by the
Packit Service 603f59
       dth parenthesized subexpression (numbering  subexpressions
Packit Service 603f59
       by  the  positions  of  their opening parentheses, left to
Packit Service 603f59
       right), so that (e.g.) `\([bc]\)\1' matches `bb'  or  `cc'
Packit Service 603f59
       but not `bc'.