Extension:PhpTags Functions/Functions/PCRE
Appearance
These functions are similar to the native PHP functions, so you can use PHP documentation |
List of implemented functions
[edit]- preg_filter — Perform a regular expression search and replace
- preg_grep — Return array entries that match the pattern
- preg_last_error — Returns the error code of the last PCRE regex execution
- preg_match_all — Perform a global regular expression match
- preg_match — Perform a regular expression match
- preg_quote — Quote regular expression characters
- preg_replace — Perform a regular expression search and replace (Modifier
e
is disabled) - preg_split — Split string by a regular expression
Waiting for implementation
[edit]This function will be added after the implementation of the callback function in Runtime of Extension PhpTags.
- preg_replace_callback — Perform a regular expression search and replace using a callback