function pregsprintf($pattern, ..., ...)Arcanist Technical Documentation ()
function pregsprintf($pattern, ..., ...)
Arcanist Technical Documentation ()
Format a regular expression. Supports the following conversions:
%s String
Escapes a string using `preg_quote`.
%R Raw
Inserts a raw regular expression.
Parameters
string | $pattern | sprintf()-style format string. |
string | Flags to use with the regular expression. | |
... | Zero or more arguments. |
Return
string | Formatted string. |
- Defined
- src/xsprintf/pregsprintf.php:17