Code Duplication    Length = 3-3 lines in 2 locations

src/htmLawed/htmLawed.php 2 locations

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