Code Duplication    Length = 3-3 lines in 2 locations

src/htmLawed/htmLawed.php 2 locations

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