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

Parle\Lexer::insertMacro

(PECL parle >= 0.5.1)

Parle\Lexer::insertMacro — Insert regex macro

说明

public Parle\Lexer::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 lexer classphp domcharacterdata insert a string at the specified 16 bit unit offsetphp mysql xdevapi tableinsert execute insert queryphp parle lexer process next lexer rulephp parle lexer finalize the lexer rule setphp parle lexer define token callbackphp parle lexer pass the data for processingphp parle lexer dump the state machinephp parle lexer retrieve the current tokenphp parle lexer insert regex macrophp parle lexer add a lexer rulephp parle lexer reset lexerphp parle parser get token idphp parle rlexer process next lexer rulephp parle rlexer finalize the lexer rule setphp parle rlexer insert regex macrophp parle rlexer add a lexer rulephp parle rlexer reset lexerphp sdo 函数 insert into a sequencephp sqlite3 returns the row id of the most recent insert into the database
关注编程学问公众号
编程学问网 湘ICP备20001732号