1<?php
2/**
3 * Alternate div syntax component for the wrap plugin
4 *
5 * Defines  <block> ... </block> syntax
6 *
7 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
8 * @author     Anika Henke <anika@selfthinker.org>
9 */
10
11class syntax_plugin_wrap_divblock extends syntax_plugin_wrap_div {
12
13    protected $special_pattern = '<block\b[^>\r\n]*?/>';
14    protected $entry_pattern   = '<block\b.*?>(?=.*?</block>)';
15    protected $exit_pattern    = '</block>';
16
17
18}
19
20