| 1 | package Regexp::Parser; | ||
| 2 | |||
| 3 | 19 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 19 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 19 | my $ENUM; | |
| 7 | 19 | ▶ | BEGIN { $ENUM = 0 } |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 19 | ▶ | use constant RPe_ZQUANT => --$ENUM, 'Quantifier unexpected on zero-length expression'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | 19 | ▶ | use constant RPe_NOTIMP => --$ENUM, 'Sequence (?%.*s...) not implemented'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 19 | ▶ | use constant RPe_NOTERM => --$ENUM, 'Sequence (?#... not terminated'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | 19 | ▶ | use constant RPe_LOGDEP => --$ENUM, '(?p{}) is deprecated -- use (??{})'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | 19 | ▶ | use constant RPe_NOTBAL => --$ENUM, 'Sequence (?{...}) not terminated or not {}-balanced'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | 19 | ▶ | use constant RPe_SWNREC => --$ENUM, 'Switch condition not recognized'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | 19 | ▶ | use constant RPe_SWBRAN => --$ENUM, 'Switch (?(condition)... contains too many branches'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | 19 | ▶ | use constant RPe_SWUNKN => --$ENUM, 'Unknown switch condition (?(%.2s'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 17 | 19 | ▶ | use constant RPe_SEQINC => --$ENUM, 'Sequence (? incomplete'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | 19 | ▶ | use constant RPe_BADFLG => --$ENUM, 'Useless (?%s%s) -- %suse /%s modifier'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | 19 | ▶ | use constant RPe_NOTREC => --$ENUM, 'Sequence (?%.*s...) not recognized'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 20 | 19 | ▶ | use constant RPe_LPAREN => --$ENUM, 'Unmatched ('; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 21 | 19 | ▶ | use constant RPe_RPAREN => --$ENUM, 'Unmatched )'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 22 | 19 | ▶ | use constant RPe_BCURLY => --$ENUM, 'Can\'t do {n,m} with n > m'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 23 | 19 | ▶ | use constant RPe_NULNUL => --$ENUM, '%s matches null string many times'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 24 | 19 | ▶ | use constant RPe_NESTED => --$ENUM, 'Nested quantifiers'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 25 | 19 | ▶ | use constant RPe_LBRACK => --$ENUM, 'Unmatched ['; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 26 | 19 | ▶ | use constant RPe_EQUANT => --$ENUM, 'Quantifier follows nothing'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 27 | 19 | ▶ | use constant RPe_BRACES => --$ENUM, 'Missing braces on \%s{}'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 28 | 19 | ▶ | use constant RPe_RBRACE => --$ENUM, 'Missing right brace on \%s{}'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 29 | 19 | ▶ | use constant RPe_BGROUP => --$ENUM, 'Reference to nonexistent group'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 30 | 19 | ▶ | use constant RPe_ESLASH => --$ENUM, 'Trailing \\'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 31 | 19 | ▶ | use constant RPe_BADESC => --$ENUM, 'Unrecognized escape \\%s%s passed through'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 32 | 19 | ▶ | use constant RPe_BADPOS => --$ENUM, 'POSIX class [:%s:] unknown'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 33 | 19 | ▶ | use constant RPe_OUTPOS => --$ENUM, 'POSIX syntax [%s %s] belongs inside character classes'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 34 | 19 | ▶ | use constant RPe_EMPTYB => --$ENUM, 'Empty \%s{}'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 35 | 19 | ▶ | use constant RPe_FRANGE => --$ENUM, 'False [] range "%s-%s"'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 36 | 19 | ▶ | use constant RPe_IRANGE => --$ENUM, 'Invalid [] range "%s-%s"'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 37 | |||
| 38 | 19 | 1; | |