Code Duplication    Length = 3-3 lines in 2 locations

src/htmLawed/htmLawed.php 2 locations

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