1<?php 2/** 3 * Alternate div 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_divwrap extends syntax_plugin_wrap_div { 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