function parse($content) {
	global $shortcode_tags;

	if (empty($shortcode_tags) || !is_array($shortcode_tags))
		return $content;

	$pattern = $this->get_shortcode_regex();
        
	return preg_replace_callback('/'.$pattern.'/s', array($this, 'do_shortcode_tag'), $content);
}