reference/mbstring/functions/mb-ereg-match.xml
7fcb23ea98c75f40553bfcee73b782e62f4e72b4
...
...
@@ -12,10 +12,16 @@
12
12
<type>bool</type><methodname>mb_ereg_match</methodname>
13
13
<methodparam><type>string</type><parameter>pattern</parameter></methodparam>
14
14
<methodparam><type>string</type><parameter>string</parameter></methodparam>
15
-
<methodparam choice="opt"><type>string</type><parameter>option</parameter><initializer>"msr"</initializer></methodparam>
15
+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>options</parameter><initializer>&null;</initializer></methodparam>
16
16
</methodsynopsis>
17
17
<para>
18
18
A regular expression match for a multibyte string
19
+
<note>
20
+
<simpara>
21
+
<parameter>pattern</parameter> is only matched at the beginning of
22
+
<parameter>string</parameter>.
23
+
</simpara>
24
+
</note>
19
25
</para>
20
26
</refsect1>
21
27

...
...
@@ -40,10 +46,10 @@
40
46
</listitem>
41
47
</varlistentry>
42
48
<varlistentry>
43
-
<term><parameter>option</parameter></term>
49
+
<term><parameter>options</parameter></term>
44
50
<listitem>
45
51
<para>
46
-
52
+
The search option. See <function>mb_regex_set_options</function> for explanation.
47
53
</para>
48
54
</listitem>
49
55
</varlistentry>
...
...
@@ -60,6 +66,28 @@
60
66
</simpara>
61
67
</refsect1>
62
68

69
+
<refsect1 role="changelog">
70
+
&reftitle.changelog;
71
+
<informaltable>
72
+
<tgroup cols="2">
73
+
<thead>
74
+
<row>
75
+
<entry>&Version;</entry>
76
+
<entry>&Description;</entry>
77
+
</row>
78
+
</thead>
79
+
<tbody>
80
+
<row>
81
+
<entry>8.0.0</entry>
82
+
<entry>
83
+
<parameter>options</parameter> is nullable now.
84
+
</entry>
85
+
</row>
86
+
</tbody>
87
+
</tgroup>
88
+
</informaltable>
89
+
</refsect1>
90
+

63
91
<refsect1 role="notes">
64
92
&reftitle.notes;
65
93
...
...
@@ -77,7 +105,6 @@
77
105
</refsect1>
78
106

79
107
</refentry>
80
-

81
108
<!-- Keep this comment at the end of the file
82
109
Local variables:
83
110
mode: sgml
84
111