PHP 8.4.6 Released!

Parle\RLexer::insertMacro

(PECL parle >= 0.5.1)

Parle\RLexer::insertMacroInserta una macro regex

Descripción

public Parle\RLexer::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