Code Duplication    Length = 3-3 lines in 2 locations

src/htmLawed/htmLawed.php 2 locations

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