Code Duplication    Length = 3-3 lines in 2 locations

src/htmLawed/htmLawed.php 2 locations

@@ 636-638 (lines=3) @@
633
                }
634
                $y[$x][strtolower(substr($m, 0, $p))] = str_replace(array("\x01", "\x02", "\x03", "\x04", "\x05", "\x06", "\x07", "\x08"), array(";", "|", "~", " ", ",", "/", "(", ")"), substr($m, $p + 1));
635
            }
636
            if (isset($y[$x]['match']) && !hl_regex($y[$x]['match'])) {
637
                unset($y[$x]['match']);
638
            }
639
            if (isset($y[$x]['nomatch']) && !hl_regex($y[$x]['nomatch'])) {
640
                unset($y[$x]['nomatch']);
641
            }
@@ 639-641 (lines=3) @@
636
            if (isset($y[$x]['match']) && !hl_regex($y[$x]['match'])) {
637
                unset($y[$x]['match']);
638
            }
639
            if (isset($y[$x]['nomatch']) && !hl_regex($y[$x]['nomatch'])) {
640
                unset($y[$x]['nomatch']);
641
            }
642
        }
643
        if (!count($y) && !count($n)) {
644
            continue;