| line | % | coverage | condition |
| 192 | 100 | | $length || 10 |
| 213 | 100 | | $max_attempts //= 1000 |
| 220 | 100 | | defined $str and $str =~ /^$regex$/u |
| 225 | 33 | | $ENV{'DEBUG_REGEX_GEN'} and $@ |
| 246 | 33 | | $regex_str =~ /\\w/u or $regex_str =~ /\[a-zA-Z0-9_\]/u |
| 25 | | $regex_str =~ /\\d/u or $regex_str =~ /\[0-9\]/u or $regex_str =~ /\[\^[^\]]*[A-Za-z]/u |
| 33 | | $regex_str =~ /\[A-Z\]/u or $regex_str =~ /\[A-Z[^\]]*\]/u |
| 33 | | $regex_str =~ /\[a-z\]/u or $regex_str =~ /\[a-z[^\]]*\]/u |
| 316 | 100 | | defined $count and $count > 0 |
| 326 | 100 | | keys %seen < $count and $attempts < $max_attempts |
| 411 | 67 | | $info->{'features'}{'has_backreferences'} and $pattern =~ /(\(\w+\)).*\\\d+/u |
| 474 | 100 | | $info->{'features'}{'has_lookahead'} or $info->{'features'}{'has_lookbehind'} |
| 492 | 67 | | $info->{'features'}{'has_unicode'} and $pattern =~ /\\p\{L\}/u |
| 609 | 75 | | defined $1 or defined $2 and $2 |
| 695 | 67 | | $char =~ /[+*?]/u or $char eq "{" |
| 700 | 67 | | $next eq "p" and substr($pattern, $i + 1, 1) eq "{" |
| 67 | | $next eq "k" and substr($pattern, $i + 1, 1) eq "<" |
| 895 | 100 | | $check_possessive //= 1 |
| 901 | 67 | | $check_possessive and $pos + 2 < length $pattern |
| 903 | 60 | | A | B | C | dec |
|---|
| 0 | 0 | X | 0 | | 0 | 1 | 0 | 0 | | 0 | 1 | 1 | 1 | | 1 | X | 0 | 0 | | 1 | X | 1 | 1 |
| $next =~ /[+*?]/u || $next eq '}' and $after_next eq "+" |
| 914 | 75 | | $check_possessive and $end + 1 < length $pattern and substr($pattern, $end + 1, 1) eq "+" |
| 976 | 100 | | $char eq "|" and $depth == 0 |
| 1002 | 67 | | $char eq "]" and substr($pattern, $i - 1, 1) ne "\\" |
| 50 | | $char eq "[" and $i == $start || substr($pattern, $i - 1, 1) ne '\\' |
| 1020 | 67 | | $char eq ")" and $prev ne "\\" |
| 67 | | $char eq "(" and $prev ne "\\" |
| 1053 | 100 | | $i + 2 < length $class and substr($class, $i + 1, 1) eq "-" |
| 1057 | 67 | | $next eq "p" and substr($class, $i + 1, 1) eq "{" |
| 1078 | 33 | | $end_char eq "\\" or $end_char eq "]" |
| 1117 | 0 | | $prop eq "Nd" or $prop eq "Decimal_Number" |
| 100 | | $prop eq "L" or $prop eq "Letter" |
| 67 | | $prop eq "N" or $prop eq "Number" |
| 67 | | $prop eq "Lu" or $prop eq "Uppercase_Letter" |
| 33 | | $prop eq "Ll" or $prop eq "Lowercase_Letter" |
| 0 | | $prop eq "P" or $prop eq "Punctuation" |
| 0 | | $prop eq "S" or $prop eq "Symbol" |
| 0 | | $prop eq "Z" or $prop eq "Separator" |