Пример #1
0
 /**
  * Return regex to match xml (p)rocessing (i)nstructions
  *
  * Quoted substring and heredoc type of substrings are allowed in PI. Key
  * is the $option setting.
  *
  * @param  string $target literal target, like 'php'
  * @param  int $option regex option
  * @return string
  * @access public
  * @static
  */
 public static function xmlProcessing($target = 'php', $option = RegExOption::OPTION_ALLOPTS)
 {
     return RegEx::stringWithOpenClose('<?' . $target, '?>', $option);
 }