Code Duplication    Length = 3-3 lines in 2 locations

src/htmLawed/htmLawed.php 2 locations

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