1<?php
2/**
3 * Alternate span syntax component for the wrap plugin
4 *
5 * Defines  <wrap> ... </wrap> 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_spanwrap extends syntax_plugin_wrap_span {
12
13    protected $special_pattern = '<wrap\b[^>\r\n]*?/>';
14    protected $entry_pattern   = '<wrap\b.*?>(?=.*?</wrap>)';
15    protected $exit_pattern    = '</wrap>';
16
17
18}
19
20