464 |
jpm |
1 |
<!DOCTYPE html>
|
|
|
2 |
<html>
|
|
|
3 |
<head>
|
|
|
4 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
|
5 |
<meta name="generator" content="ApiGen 2.8.0">
|
|
|
6 |
|
|
|
7 |
<title>Class Pattern | TBFramework - v0.4</title>
|
|
|
8 |
|
|
|
9 |
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
|
|
|
10 |
<script type="text/javascript" src="elementlist.js?1964084359"></script>
|
|
|
11 |
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
|
|
|
12 |
|
|
|
13 |
</head>
|
|
|
14 |
|
|
|
15 |
<body>
|
|
|
16 |
<div id="left">
|
|
|
17 |
<div id="menu">
|
|
|
18 |
<a href="index.html" title="Overview"><span>Overview</span></a>
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
<div id="groups">
|
|
|
22 |
<h3>Packages</h3>
|
|
|
23 |
<ul>
|
|
|
24 |
<li><a href="package-Framework.html">Framework</a>
|
|
|
25 |
</li>
|
|
|
26 |
<li><a href="package-None.html">None</a>
|
|
|
27 |
</li>
|
|
|
28 |
<li><a href="package-PHP.html">PHP</a>
|
|
|
29 |
</li>
|
|
|
30 |
<li class="active"><a href="package-Utilitaire.html">Utilitaire</a>
|
|
|
31 |
</li>
|
|
|
32 |
</ul>
|
|
|
33 |
</div>
|
|
|
34 |
|
|
|
35 |
<hr>
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
<div id="elements">
|
|
|
39 |
<h3>Classes</h3>
|
|
|
40 |
<ul>
|
|
|
41 |
<li><a href="class-Chaine.html">Chaine</a></li>
|
|
|
42 |
<li><a href="class-Encodage.html">Encodage</a></li>
|
|
|
43 |
<li><a href="class-Fichier.html">Fichier</a></li>
|
|
|
44 |
<li class="active"><a href="class-Pattern.html">Pattern</a></li>
|
|
|
45 |
<li><a href="class-Tableau.html">Tableau</a></li>
|
|
|
46 |
</ul>
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
</div>
|
|
|
53 |
</div>
|
|
|
54 |
</div>
|
|
|
55 |
|
|
|
56 |
<div id="splitter"></div>
|
|
|
57 |
|
|
|
58 |
<div id="right">
|
|
|
59 |
<div id="rightInner">
|
|
|
60 |
<form id="search">
|
|
|
61 |
<input type="hidden" name="cx" value="">
|
|
|
62 |
<input type="hidden" name="ie" value="UTF-8">
|
|
|
63 |
<input type="text" name="q" class="text">
|
|
|
64 |
<input type="submit" value="Search">
|
|
|
65 |
</form>
|
|
|
66 |
|
|
|
67 |
<div id="navigation">
|
|
|
68 |
<ul>
|
|
|
69 |
<li>
|
|
|
70 |
<a href="index.html" title="Overview"><span>Overview</span></a>
|
|
|
71 |
</li>
|
|
|
72 |
<li>
|
|
|
73 |
<a href="package-Utilitaire.html" title="Summary of Utilitaire"><span>Package</span></a>
|
|
|
74 |
</li>
|
|
|
75 |
<li class="active">
|
|
|
76 |
<span>Class</span> </li>
|
|
|
77 |
</ul>
|
|
|
78 |
<ul>
|
|
|
79 |
<li>
|
|
|
80 |
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
|
|
|
81 |
</li>
|
|
|
82 |
<li>
|
|
|
83 |
<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
|
|
|
84 |
</li>
|
|
|
85 |
<li>
|
|
|
86 |
<a href="todo.html" title="Todo list"><span>Todo</span></a>
|
|
|
87 |
</li>
|
|
|
88 |
</ul>
|
|
|
89 |
<ul>
|
|
|
90 |
</ul>
|
|
|
91 |
</div>
|
|
|
92 |
|
|
|
93 |
<div id="content" class="class">
|
|
|
94 |
<h1>Class Pattern</h1>
|
|
|
95 |
|
|
|
96 |
|
|
|
97 |
<div class="description">
|
|
|
98 |
|
|
|
99 |
<p>Classe fournissant des constantes correspondant à des expressions
|
|
|
100 |
régulières de vérification très courrantes.</p>
|
|
|
101 |
|
|
|
102 |
</div>
|
|
|
103 |
|
|
|
104 |
|
|
|
105 |
|
|
|
106 |
|
|
|
107 |
|
|
|
108 |
|
|
|
109 |
|
|
|
110 |
|
|
|
111 |
|
|
|
112 |
<div class="info">
|
|
|
113 |
|
|
|
114 |
|
|
|
115 |
|
|
|
116 |
<b>Package:</b> <a href="package-Utilitaire.html">Utilitaire</a><br>
|
|
|
117 |
|
|
|
118 |
<b>Category:</b>
|
|
|
119 |
PHP 5.2<br>
|
|
|
120 |
<b>Copyright:</b>
|
|
|
121 |
Copyright (c) 2009, Tela Botanica (<a
|
|
|
122 |
href="mailto:accueil@tela-botanica.org">accueil@<!-- -->tela-botanica.org</a>)<br>
|
|
|
123 |
<b>License:</b>
|
|
|
124 |
<a href="http://www.gnu.org/licenses/gpl.html">Licence GNU-GPL-v3</a><br>
|
|
|
125 |
<b>License:</b>
|
|
|
126 |
<a href="http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt">Licence CECILL-v2</a><br>
|
|
|
127 |
<b>Author:</b>
|
|
|
128 |
Jean-Pascal MILCENT <<a
|
|
|
129 |
href="mailto:jpm@tela-botanica.org">jpm@<!-- -->tela-botanica.org</a>><br>
|
|
|
130 |
<b>Version:</b>
|
|
|
131 |
$Id: Pattern.php 299 2011-01-18 14:03:46Z jpm $<br>
|
|
|
132 |
<b>Link:</b>
|
|
|
133 |
/doc/framework/<br>
|
|
|
134 |
<b>Located at</b> <a href="source-class-Pattern.html#3-23" title="Go to source code">framework/utilitaires/Pattern.php</a><br>
|
|
|
135 |
</div>
|
|
|
136 |
|
|
|
137 |
|
|
|
138 |
|
|
|
139 |
|
|
|
140 |
|
|
|
141 |
|
|
|
142 |
|
|
|
143 |
|
|
|
144 |
|
|
|
145 |
|
|
|
146 |
|
|
|
147 |
<table class="summary" id="constants">
|
|
|
148 |
<caption>Constants summary</caption>
|
|
|
149 |
<tr data-order="PRENOM" id="PRENOM">
|
|
|
150 |
|
|
|
151 |
<td class="attributes"><code>string</code></td>
|
|
|
152 |
<td class="name"><code>
|
|
|
153 |
<a href="source-class-Pattern.html#16" title="Go to source code"><b>PRENOM</b></a>
|
|
|
154 |
</code></td>
|
|
|
155 |
<td class="value"><code><span class="php-quote">"[\p{L}-]+"</span></code></td>
|
|
|
156 |
<td class="description"><div>
|
|
|
157 |
<a href="#PRENOM" class="anchor">#</a>
|
|
|
158 |
|
|
|
159 |
<div class="description short">
|
|
|
160 |
|
|
|
161 |
</div>
|
|
|
162 |
|
|
|
163 |
<div class="description detailed hidden">
|
|
|
164 |
|
|
|
165 |
|
|
|
166 |
</div>
|
|
|
167 |
</div></td>
|
|
|
168 |
</tr>
|
|
|
169 |
<tr data-order="NOM" id="NOM">
|
|
|
170 |
|
|
|
171 |
<td class="attributes"><code>string</code></td>
|
|
|
172 |
<td class="name"><code>
|
|
|
173 |
<a href="source-class-Pattern.html#17" title="Go to source code"><b>NOM</b></a>
|
|
|
174 |
</code></td>
|
|
|
175 |
<td class="value"><code><span class="php-quote">"[\p{Lu}]+"</span></code></td>
|
|
|
176 |
<td class="description"><div>
|
|
|
177 |
<a href="#NOM" class="anchor">#</a>
|
|
|
178 |
|
|
|
179 |
<div class="description short">
|
|
|
180 |
|
|
|
181 |
</div>
|
|
|
182 |
|
|
|
183 |
<div class="description detailed hidden">
|
|
|
184 |
|
|
|
185 |
|
|
|
186 |
</div>
|
|
|
187 |
</div></td>
|
|
|
188 |
</tr>
|
|
|
189 |
<tr data-order="COURRIEL" id="COURRIEL">
|
|
|
190 |
|
|
|
191 |
<td class="attributes"><code>string</code></td>
|
|
|
192 |
<td class="name"><code>
|
|
|
193 |
<a href="source-class-Pattern.html#18" title="Go to source code"><b>COURRIEL</b></a>
|
|
|
194 |
</code></td>
|
|
|
195 |
<td class="value"><code><span class="php-quote">"[a-z0-9!#</span><span class="php-var">$</span><span class="php-quote">%&'*+=?^_`{|}~-]+(?:\\.[a-z0-9!#</span><span class="php-var">$</span><span class="php-quote">%&'*+=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?"</span></code></td>
|
|
|
196 |
<td class="description"><div>
|
|
|
197 |
<a href="#COURRIEL" class="anchor">#</a>
|
|
|
198 |
|
|
|
199 |
<div class="description short">
|
|
|
200 |
|
|
|
201 |
</div>
|
|
|
202 |
|
|
|
203 |
<div class="description detailed hidden">
|
|
|
204 |
|
|
|
205 |
|
|
|
206 |
</div>
|
|
|
207 |
</div></td>
|
|
|
208 |
</tr>
|
|
|
209 |
<tr data-order="URL" id="URL">
|
|
|
210 |
|
|
|
211 |
<td class="attributes"><code>string</code></td>
|
|
|
212 |
<td class="name"><code>
|
|
|
213 |
<a href="source-class-Pattern.html#19" title="Go to source code"><b>URL</b></a>
|
|
|
214 |
</code></td>
|
|
|
215 |
<td class="value"><code><span class="php-quote">"^(?:(?:ht|f)tp(?:s?)\\:\\/\\/|~/|/)?(?:\\w+:\\w+@)?(?:(?:[-\\w]+\\.)+(?:com|org|net|gov|mil|biz|info|mobi|name|aero|jobs|museum|travel|[a-z]{2}))(?::[\\d]{1,5})?(?:(?:(?:/(?:[-\\w~!</span><span class="php-var">$</span><span class="php-quote">+|.,=]|%[a-f\\d]{2})+)+|/)+|\\?|#)?(?:(?:\\?(?:[-\\w~!</span><span class="php-var">$</span><span class="php-quote">+|.,*:]|%[a-f\\d{2}])+=(?:[-\\w~!</span><span class="php-var">$</span><span class="php-quote">+|.,*:=]|%[a-f\\d]{2})*)(?:&(?:[-\\w~!</span><span class="php-var">$</span><span class="php-quote">+|.,*:]|%[a-f\\d{2}])+=(?:[-\\w~!</span><span class="php-var">$</span><span class="php-quote">+|.,*:=]|%[a-f\\d]{2})*)*)*(?:#(?:[-\\w~!</span><span class="php-var">$</span><span class="php-quote">+|.,*:=]|%[a-f\\d]{2})*)?</span><span class="php-var">$</span><span class="php-quote">"</span></code></td>
|
|
|
216 |
<td class="description"><div>
|
|
|
217 |
<a href="#URL" class="anchor">#</a>
|
|
|
218 |
|
|
|
219 |
<div class="description short">
|
|
|
220 |
|
|
|
221 |
</div>
|
|
|
222 |
|
|
|
223 |
<div class="description detailed hidden">
|
|
|
224 |
|
|
|
225 |
|
|
|
226 |
</div>
|
|
|
227 |
</div></td>
|
|
|
228 |
</tr>
|
|
|
229 |
<tr data-order="HEURE_MINUTE" id="HEURE_MINUTE">
|
|
|
230 |
|
|
|
231 |
<td class="attributes"><code>string</code></td>
|
|
|
232 |
<td class="name"><code>
|
|
|
233 |
<a href="source-class-Pattern.html#20" title="Go to source code"><b>HEURE_MINUTE</b></a>
|
|
|
234 |
</code></td>
|
|
|
235 |
<td class="value"><code><span class="php-quote">"^(?:[0-1][0-9]|2[0-4]):(?:[0-5][0-9]|60)</span><span class="php-var">$</span><span class="php-quote">"</span></code></td>
|
|
|
236 |
<td class="description"><div>
|
|
|
237 |
<a href="#HEURE_MINUTE" class="anchor">#</a>
|
|
|
238 |
|
|
|
239 |
<div class="description short">
|
|
|
240 |
|
|
|
241 |
</div>
|
|
|
242 |
|
|
|
243 |
<div class="description detailed hidden">
|
|
|
244 |
|
|
|
245 |
|
|
|
246 |
</div>
|
|
|
247 |
</div></td>
|
|
|
248 |
</tr>
|
|
|
249 |
<tr data-order="LATITUDE" id="LATITUDE">
|
|
|
250 |
|
|
|
251 |
<td class="attributes"><code>string</code></td>
|
|
|
252 |
<td class="name"><code>
|
|
|
253 |
<a href="source-class-Pattern.html#21" title="Go to source code"><b>LATITUDE</b></a>
|
|
|
254 |
</code></td>
|
|
|
255 |
<td class="value"><code><span class="php-quote">"^-?([0-8]?[0-9]([.,][0-9]*)?|90)</span><span class="php-var">$</span><span class="php-quote">"</span></code></td>
|
|
|
256 |
<td class="description"><div>
|
|
|
257 |
<a href="#LATITUDE" class="anchor">#</a>
|
|
|
258 |
|
|
|
259 |
<div class="description short">
|
|
|
260 |
|
|
|
261 |
</div>
|
|
|
262 |
|
|
|
263 |
<div class="description detailed hidden">
|
|
|
264 |
|
|
|
265 |
|
|
|
266 |
</div>
|
|
|
267 |
</div></td>
|
|
|
268 |
</tr>
|
|
|
269 |
<tr data-order="LONGITUDE" id="LONGITUDE">
|
|
|
270 |
|
|
|
271 |
<td class="attributes"><code>string</code></td>
|
|
|
272 |
<td class="name"><code>
|
|
|
273 |
<a href="source-class-Pattern.html#22" title="Go to source code"><b>LONGITUDE</b></a>
|
|
|
274 |
</code></td>
|
|
|
275 |
<td class="value"><code><span class="php-quote">"^-?((1[0-7][0-9]|[1-9]?[0-9])([.,][0-9]*)?|180)</span><span class="php-var">$</span><span class="php-quote">"</span></code></td>
|
|
|
276 |
<td class="description"><div>
|
|
|
277 |
<a href="#LONGITUDE" class="anchor">#</a>
|
|
|
278 |
|
|
|
279 |
<div class="description short">
|
|
|
280 |
|
|
|
281 |
</div>
|
|
|
282 |
|
|
|
283 |
<div class="description detailed hidden">
|
|
|
284 |
|
|
|
285 |
|
|
|
286 |
</div>
|
|
|
287 |
</div></td>
|
|
|
288 |
</tr>
|
|
|
289 |
</table>
|
|
|
290 |
|
|
|
291 |
|
|
|
292 |
|
|
|
293 |
|
|
|
294 |
|
|
|
295 |
|
|
|
296 |
|
|
|
297 |
|
|
|
298 |
|
|
|
299 |
|
|
|
300 |
</div>
|
|
|
301 |
|
|
|
302 |
<div id="footer">
|
|
|
303 |
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
|
|
|
304 |
</div>
|
|
|
305 |
</div>
|
|
|
306 |
</div>
|
|
|
307 |
</body>
|
|
|
308 |
</html>
|