Parle\Lexer::insertMacro

(PECL parle >= 0.5.1)

Parle\Lexer::insertMacroInserta una macro regex

Descripción

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

Inserta una macro regex, que puede ser utilizada más tarde como un atajo e incluida en otras expresiones regulares.

Parámetros

name

El nombre de la macro.

regex

La expresión regular.

Valores devueltos

No devuelve ningún valor.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top