reference/mbstring/functions/mb-ereg-search.xml
92f1b8b177eb5730382abf9f27bae868f1bb636f
...
...
@@ -10,8 +10,8 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>bool</type><methodname>mb_ereg_search</methodname>
13
-
<methodparam choice="opt"><type>string</type><parameter>pattern</parameter></methodparam>
14
-
<methodparam choice="opt"><type>string</type><parameter>option</parameter><initializer>"ms"</initializer></methodparam>
13
+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>pattern</parameter><initializer>&null;</initializer></methodparam>
14
+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>options</parameter><initializer>&null;</initializer></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
17
Performs a multibyte regular expression match for a predefined multibyte string.
...
...
@@ -31,10 +31,10 @@
31
31
</listitem>
32
32
</varlistentry>
33
33
<varlistentry>
34
-
<term><parameter>option</parameter></term>
34
+
<term><parameter>options</parameter></term>
35
35
<listitem>
36
36
<para>
37
-
The search option.
37
+
The search option. See <function>mb_regex_set_options</function> for explanation.
38
38
</para>
39
39
</listitem>
40
40
</varlistentry>
...
...
@@ -54,6 +54,30 @@
54
54
</simpara>
55
55
</refsect1>
56
56

57
+
<refsect1 role="changelog">
58
+
&reftitle.changelog;
59
+
<para>
60
+
<informaltable>
61
+
<tgroup cols="2">
62
+
<thead>
63
+
<row>
64
+
<entry>&Version;</entry>
65
+
<entry>&Description;</entry>
66
+
</row>
67
+
</thead>
68
+
<tbody>
69
+
<row>
70
+
<entry>8.0.0</entry>
71
+
<entry>
72
+
<parameter>pattern</parameter> and <parameter>options</parameter> are nullable now.
73
+
</entry>
74
+
</row>
75
+
</tbody>
76
+
</tgroup>
77
+
</informaltable>
78
+
</para>
79
+
</refsect1>
80
+

57
81
<refsect1 role="notes">
58
82
&reftitle.notes;
59
83
...
...
@@ -71,7 +95,6 @@
71
95
</refsect1>
72
96

73
97
</refentry>
74
-

75
98
<!-- Keep this comment at the end of the file
76
99
Local variables:
77
100
mode: sgml
78
101