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