src/includes/classes/Core/Tokenizer.php
protected function maybeTokenizeIfCondTags()
    {
        if (!in_array('if-conds', $this->tokenize, true)) {
            return; // Not tokenizing these.
        } elseif (mb_stripos($this->string, '<!--[') === false && mb_stripos($this->string, '<![') === false) {
            return; // Nothing to tokenize here.
        }
        $regex = '/\<\![^[>]*?\[if\W[^\]]*?\][^>]*?\>(?s:.*?)\<\![^[>]*?\[endif\][^>]*?\>/ui';

        $this->string = preg_replace_callback($regex, function ($m) {
            $this->tokens[] = $m[0];  // Original data for token.
            return $token = '⁅⒯'.$this->id.'⒯'.(count($this->tokens) - 1).'⒯⁆';
        }, $this->string); // Tags replaced by tokens.
    }
protected function maybeTokenizeIfCondTags()
    {
        if (!in_array('if-conds', $this->tokenize, true)) {
            return; // Not tokenizing these.
        } elseif (mb_stripos($this->string, '<!--[') === false && mb_stripos($this->string, '<![') === false) {
            return; // Nothing to tokenize here.
        }
        $regex = '/\<\![^[>]*?\[if\W[^\]]*?\][^>]*?\>(?s:.*?)\<\![^[>]*?\[endif\][^>]*?\>/ui';

        $this->string = preg_replace_callback($regex, function ($m) {
            $this->tokens[] = $m[0];  // Original data for token.
            return $token = '⁅⒯'.$this->id.'⒯'.(count($this->tokens) - 1).'⒯⁆';
        }, $this->string); // Tags replaced by tokens.
    }
Maybe tokenize `<!--[if`, `<![if` tags.

@since 170824.30708 Initial release.