source: www/manuals/PHP_manual/function.mb-ereg.html@ 1

Last change on this file since 1 was 1, checked in by george, 17 years ago

Prvotní import všeho

File size: 3.8 KB
Line 
1<HTML
2><HEAD
3><TITLE
4>mb_ereg</TITLE
5><META
6NAME="GENERATOR"
7CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
8REL="HOME"
9TITLE="Manuál PHP"
10HREF="index.html"><LINK
11REL="UP"
12TITLE="Multi-Byte String Functions"
13HREF="ref.mbstring.html"><LINK
14REL="PREVIOUS"
15TITLE="mb_ereg_search"
16HREF="function.mb-ereg-search.html"><LINK
17REL="NEXT"
18TITLE="mb_eregi_replace"
19HREF="function.mb-eregi-replace.html"><META
20HTTP-EQUIV="Content-type"
21CONTENT="text/html; charset=ISO-8859-2"></HEAD
22><BODY
23CLASS="refentry"
24BGCOLOR="#FFFFFF"
25TEXT="#000000"
26LINK="#0000FF"
27VLINK="#840084"
28ALINK="#0000FF"
29><DIV
30CLASS="NAVHEADER"
31><TABLE
32SUMMARY="Header navigation table"
33WIDTH="100%"
34BORDER="0"
35CELLPADDING="0"
36CELLSPACING="0"
37><TR
38><TH
39COLSPAN="3"
40ALIGN="center"
41>Manuál PHP</TH
42></TR
43><TR
44><TD
45WIDTH="10%"
46ALIGN="left"
47VALIGN="bottom"
48><A
49HREF="function.mb-ereg-search.html"
50ACCESSKEY="P"
51>Pøedcházející</A
52></TD
53><TD
54WIDTH="80%"
55ALIGN="center"
56VALIGN="bottom"
57></TD
58><TD
59WIDTH="10%"
60ALIGN="right"
61VALIGN="bottom"
62><A
63HREF="function.mb-eregi-replace.html"
64ACCESSKEY="N"
65>Dal¹í</A
66></TD
67></TR
68></TABLE
69><HR
70ALIGN="LEFT"
71WIDTH="100%"></DIV
72><H1
73><A
74NAME="function.mb-ereg"
75></A
76>mb_ereg</H1
77><DIV
78CLASS="refnamediv"
79><A
80NAME="AEN42473"
81></A
82><P
83> (PHP 4 &#62;= 4.2.0)</P
84>mb_ereg&nbsp;--&nbsp;Regular expression match with multibyte support</DIV
85><DIV
86CLASS="refsect1"
87><A
88NAME="AEN42476"
89></A
90><H2
91>Description</H2
92>int <B
93CLASS="methodname"
94>mb_ereg</B
95> ( string pattern, string string [, array regs])<BR
96></BR
97><DIV
98CLASS="warning"
99><P
100></P
101><TABLE
102CLASS="warning"
103BORDER="1"
104WIDTH="100%"
105><TR
106><TD
107ALIGN="CENTER"
108><B
109>Varování</B
110></TD
111></TR
112><TR
113><TD
114ALIGN="LEFT"
115><P
116>Tato funkce je
117<SPAN
118CLASS="emphasis"
119><I
120CLASS="emphasis"
121>EXPERIMENTÁLNÍ</I
122></SPAN
123>. Chování této funkce, její
124název a v¹echno ostatní, co je zde zdokumentováno, se v budoucích verzích
125PHP mù¾e BEZ OHLÁ©ENÍ zmìnit. Berte to v úvahu a pou¾ívejte tuto funkci na
126vlastní nebezpeèí.</P
127></TD
128></TR
129></TABLE
130></DIV
131><P
132>&#13; <B
133CLASS="function"
134>mb_ereg()</B
135> executes the regular expression
136 match with multibyte support, and returns 1 if matches are found.
137 If the optional third parameter was specified, the function
138 returns the byte length of matched part, and therarray
139 <TT
140CLASS="parameter"
141><I
142>regs</I
143></TT
144> will contain the substring of matched
145 string. The functions returns 1 if it matches with the empty
146 string. It no matche found or error happend, <TT
147CLASS="constant"
148><B
149>FALSE</B
150></TT
151> will be
152 returned.
153 </P
154><P
155>&#13; The internal encoding or the character encoding specified in
156 <A
157HREF="function.mb-regex-encoding.html"
158><B
159CLASS="function"
160>mb_regex_encoding()</B
161></A
162> will be used as character
163 encoding.
164 </P
165><DIV
166CLASS="note"
167><BLOCKQUOTE
168CLASS="note"
169><P
170><B
171>Poznámka: </B
172>
173 This function is supported in PHP 4.2.0 or higher.
174 </P
175></BLOCKQUOTE
176></DIV
177><P
178>&#13; See also: <A
179HREF="function.mb-regex-encoding.html"
180><B
181CLASS="function"
182>mb_regex_encoding()</B
183></A
184>,
185 <A
186HREF="function.mb-eregi.html"
187><B
188CLASS="function"
189>mb_eregi()</B
190></A
191>
192 </P
193></DIV
194><DIV
195CLASS="NAVFOOTER"
196><HR
197ALIGN="LEFT"
198WIDTH="100%"><TABLE
199SUMMARY="Footer navigation table"
200WIDTH="100%"
201BORDER="0"
202CELLPADDING="0"
203CELLSPACING="0"
204><TR
205><TD
206WIDTH="33%"
207ALIGN="left"
208VALIGN="top"
209><A
210HREF="function.mb-ereg-search.html"
211ACCESSKEY="P"
212>Pøedcházející</A
213></TD
214><TD
215WIDTH="34%"
216ALIGN="center"
217VALIGN="top"
218><A
219HREF="index.html"
220ACCESSKEY="H"
221>Domù</A
222></TD
223><TD
224WIDTH="33%"
225ALIGN="right"
226VALIGN="top"
227><A
228HREF="function.mb-eregi-replace.html"
229ACCESSKEY="N"
230>Dal¹í</A
231></TD
232></TR
233><TR
234><TD
235WIDTH="33%"
236ALIGN="left"
237VALIGN="top"
238>mb_ereg_search</TD
239><TD
240WIDTH="34%"
241ALIGN="center"
242VALIGN="top"
243><A
244HREF="ref.mbstring.html"
245ACCESSKEY="U"
246>Nahoru</A
247></TD
248><TD
249WIDTH="33%"
250ALIGN="right"
251VALIGN="top"
252>mb_eregi_replace</TD
253></TR
254></TABLE
255></DIV
256></BODY
257></HTML
258>
Note: See TracBrowser for help on using the repository browser.