php-doc-en/reference/pcre/functions
Juliette 41c8533ff5
PCRE: add missing "Errors/Exceptions" section
All PCRE pattern matching functions will throw a warning when an invalid regex is passed to the `$pattern` parameter.
See: https://3v4l.org/WkVIW

This was thus far undocumented behaviour.

This PR adds:
* The "Errors/Exceptions" section to each of the PCRE pattern matching function documentation pages (if it didn't exist yet).
* Adds a macro for the text snippet about the warning to display in the section and uses that in the "Errors/Exceptions" section for each function.

Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>

Closes GH-1057.
2021-11-08 13:01:56 +01:00
..
preg-filter.xml PCRE: add missing "Errors/Exceptions" section 2021-11-08 13:01:56 +01:00
preg-grep.xml PCRE: add missing "Errors/Exceptions" section 2021-11-08 13:01:56 +01:00
preg-last-error-msg.xml Add preg_last_error_msg documentation 2020-10-07 17:24:21 +00:00
preg-last-error.xml Fix section order issues in PCRE extension 2021-06-06 18:03:03 +01:00
preg-match-all.xml PCRE: add missing "Errors/Exceptions" section 2021-11-08 13:01:56 +01:00
preg-match.xml PCRE: add missing "Errors/Exceptions" section 2021-11-08 13:01:56 +01:00
preg-quote.xml Generate pcre methodsynopses based on stubs 2020-11-22 12:38:46 +00:00
preg-replace-callback-array.xml PCRE: add missing "Errors/Exceptions" section 2021-11-08 13:01:56 +01:00
preg-replace-callback.xml PCRE: add missing "Errors/Exceptions" section 2021-11-08 13:01:56 +01:00
preg-replace.xml PCRE: add missing "Errors/Exceptions" section 2021-11-08 13:01:56 +01:00
preg-split.xml PCRE: add missing "Errors/Exceptions" section 2021-11-08 13:01:56 +01:00