function openTag($tag_name) { $expr = sprintf($this->_open_tag_expr, $tag_name); return sprintf("/%s/%s", $expr, $this->_re_flags); }