编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « Parle\RLexer::getToken
  • Parle\RLexer::push »
  • PHP Manual
  • Parle\RLexer
  • Insert regex macro

Parle\RLexer::insertMacro

(PECL parle >= 0.5.1)

Parle\RLexer::insertMacro — Insert regex macro

说明

public Parle\RLexer::insertMacro ( string $name , string $regex ) : void

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.

返回值

没有返回值。

相关文章
php parle the parle rlexer classphp ncurses 函数 check for line insert and delete capabilitiesphp sqlsrv 函数 returns the number of rows modified by the last insert update or delete query executedphp harudoc insert new page just before the specified pagephp mysql xdevapi sqlstatementresult get last insert idphp mysql xdevapi table insert table rowsphp parle lexer insert regex macrophp parle parser finalize the grammar rulesphp parle rlexer process next lexer rulephp parle rlexer finalize the lexer rule setphp parle rlexer define token callbackphp parle rlexer pass the data for processingphp parle rlexer dump the state machinephp parle rlexer retrieve the current tokenphp parle rlexer insert regex macrophp parle rlexer add a lexer rulephp parle rlexer push a new start statephp parle rlexer reset lexerphp parle rparser declare a precedence rulephp parle parle pattern matching
关注编程学问公众号
编程学问网 湘ICP备20001732号