array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'parle-rlexer.insertmacro.php', 1 => 'Parle\\RLexer::insertMacro', ), 'up' => array ( 0 => 'class.parle-rlexer.php', 1 => 'Parle\\RLexer', ), 'prev' => array ( 0 => 'parle-rlexer.gettoken.php', 1 => 'Parle\\RLexer::getToken', ), 'next' => array ( 0 => 'parle-rlexer.push.php', 1 => 'Parle\\RLexer::push', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/parle/parle/rlexer/insertmacro.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL parle >= 0.5.1)
Parle\RLexer::insertMacro — Insert regex macro
Insert a regex macro, that can be later used as a shortcut and included in other regular expressions.
name
Name of the macros.
regex
Regular expression.
没有返回值。