| line | % | coverage | condition | 
|---|
| 192 | 100 |  | $length || 10 | 
| 213 | 100 |  | $max_attempts //= 1000 | 
| 220 | 100 |  | defined $str and $str =~ /^$regex$/ | 
| 225 | 33 |  | $ENV{'DEBUG_REGEX_GEN'} and $@ | 
| 246 | 33 |  | $regex_str =~ /\\w/ or $regex_str =~ /\[a-zA-Z0-9_\]/ | 
|  | 25 |  | $regex_str =~ /\\d/ or $regex_str =~ /\[0-9\]/ or $regex_str =~ /\[\^[^\]]*[A-Za-z]/ | 
|  | 33 |  | $regex_str =~ /\[A-Z\]/ or $regex_str =~ /\[A-Z[^\]]*\]/ | 
|  | 33 |  | $regex_str =~ /\[a-z\]/ or $regex_str =~ /\[a-z[^\]]*\]/ | 
| 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+/ | 
| 474 | 100 |  | $info->{'features'}{'has_lookahead'} or $info->{'features'}{'has_lookbehind'} | 
| 492 | 67 |  | $info->{'features'}{'has_unicode'} and $pattern =~ /\\p\{L\}/ | 
| 609 | 75 |  | defined $1 or defined $2 and $2 | 
| 695 | 67 |  | $char =~ /[+*?]/ 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 =~ /[+*?]/ || $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 "\\" | 
| 1047 | 67 |  | $i + 2 < length $class and substr($class, $i + 1, 1) eq "-" | 
| 1050 | 33 |  | $next eq "p" and substr($class, $i + 1, 1) eq "{" | 
| 1094 | 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" |