Code Duplication    Length = 3-3 lines in 2 locations

src/htmLawed/htmLawed.php 2 locations

@@ 650-652 (lines=3) @@
647
                }
648
                $y[$x][strtolower(substr($m, 0, $p))] = str_replace(array("\x01", "\x02", "\x03", "\x04", "\x05", "\x06", "\x07", "\x08"), array(';', '|', '~', ' ', ',', '/', '(', ')'), substr($m, $p + 1));
649
            }
650
            if (isset($y[$x]['match']) && !hl_regex($y[$x]['match'])) {
651
                unset($y[$x]['match']);
652
            }
653
            if (isset($y[$x]['nomatch']) && !hl_regex($y[$x]['nomatch'])) {
654
                unset($y[$x]['nomatch']);
655
            }
@@ 653-655 (lines=3) @@
650
            if (isset($y[$x]['match']) && !hl_regex($y[$x]['match'])) {
651
                unset($y[$x]['match']);
652
            }
653
            if (isset($y[$x]['nomatch']) && !hl_regex($y[$x]['nomatch'])) {
654
                unset($y[$x]['nomatch']);
655
            }
656
        }
657
        if (!count($y) && !count($n)) {
658
            continue;