Doc #75401 [Opn->Csd]: mb-ereg-replace default options "r" and "s" not documented anywhere

From: Date: Mon, 29 Jan 2018 22:51:40 +0000
Subject: Doc #75401 [Opn->Csd]: mb-ereg-replace default options "r" and "s" not documented anywhere
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-15379@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75401&edit=1 ID: 75401 Updated by: vrana@php.net Reported by: php-bug at webattractive dot de Summary: mb-ereg-replace default options "r" and "s" not documented anywhere -Status: Open +Status: Closed Type: Documentation Problem Package: mbstring related Operating System: any PHP Version: Irrelevant -Assigned To: +Assigned To: vrana Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2018-01-29 22:51:36] vrana@php.net Automatic comment from SVN on behalf of vrana Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=344083 Log: Link mb_regex_set_options (bug #75401) ------------------------------------------------------------------------ [2017-10-17 21:22:06] cmb@php.net All MB regex options are explained on the mb_regex_set_options() man page[1]. This should probably be linked from the the other MB regex functions. [1] <http://php.net/manual/en/function.mb-regex-set-options.php> ------------------------------------------------------------------------ [2017-10-17 21:01:17] php-bug at webattractive dot de Nothing in the Changelog. It only mentions the deprecation of the e modifier. ------------------------------------------------------------------------ [2017-10-17 20:19:46] php-bug at webattractive dot de Description: ------------ --- From manual page: http://www.php.net/function.mb-ereg-replace --- The fourth (optional) parameter "option" is shown with a default value of "msr" In the parameter description section the options e,i,m,p and x are listed, but the r option is not explained. The documentation for all other mb_ereg_* or mb_eregi_* functions also omits the r option, states to look in the description of mb_ereg_replace or has no explanation of the options at all. The non multibyte versions of ereg_* or preg_* don't have an option parameter and the PCRE pattern modifier documntation also doesn't list an r option. Websearches didn't help either. Expected result: ---------------- An explanation of an option that is set by default Actual result: -------------- no clue what the r option is good for ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=75401&edit=1

« previous php.doc.bugs (#15379) next »