297 |
jpm |
1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
2 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
3 |
<head>
|
|
|
4 |
<!-- template designed by Marco Von Ballmoos -->
|
|
|
5 |
<title>Docs For Class Pattern</title>
|
|
|
6 |
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'/>
|
|
|
7 |
<link rel="stylesheet" href="../media/stylesheet.css" />
|
|
|
8 |
<script src="../media/lib/classTree.js"></script>
|
|
|
9 |
<script language="javascript" type="text/javascript">
|
|
|
10 |
var imgPlus = new Image();
|
|
|
11 |
var imgMinus = new Image();
|
|
|
12 |
imgPlus.src = "../media/images/plus.png";
|
|
|
13 |
imgMinus.src = "../media/images/minus.png";
|
|
|
14 |
|
|
|
15 |
function showNode(Node){
|
|
|
16 |
switch(navigator.family){
|
|
|
17 |
case 'nn4':
|
|
|
18 |
// Nav 4.x code fork...
|
|
|
19 |
var oTable = document.layers["span" + Node];
|
|
|
20 |
var oImg = document.layers["img" + Node];
|
|
|
21 |
break;
|
|
|
22 |
case 'ie4':
|
|
|
23 |
// IE 4/5 code fork...
|
|
|
24 |
var oTable = document.all["span" + Node];
|
|
|
25 |
var oImg = document.all["img" + Node];
|
|
|
26 |
break;
|
|
|
27 |
case 'gecko':
|
|
|
28 |
// Standards Compliant code fork...
|
|
|
29 |
var oTable = document.getElementById("span" + Node);
|
|
|
30 |
var oImg = document.getElementById("img" + Node);
|
|
|
31 |
break;
|
|
|
32 |
}
|
|
|
33 |
oImg.src = imgMinus.src;
|
|
|
34 |
oTable.style.display = "block";
|
|
|
35 |
}
|
|
|
36 |
|
|
|
37 |
function hideNode(Node){
|
|
|
38 |
switch(navigator.family){
|
|
|
39 |
case 'nn4':
|
|
|
40 |
// Nav 4.x code fork...
|
|
|
41 |
var oTable = document.layers["span" + Node];
|
|
|
42 |
var oImg = document.layers["img" + Node];
|
|
|
43 |
break;
|
|
|
44 |
case 'ie4':
|
|
|
45 |
// IE 4/5 code fork...
|
|
|
46 |
var oTable = document.all["span" + Node];
|
|
|
47 |
var oImg = document.all["img" + Node];
|
|
|
48 |
break;
|
|
|
49 |
case 'gecko':
|
|
|
50 |
// Standards Compliant code fork...
|
|
|
51 |
var oTable = document.getElementById("span" + Node);
|
|
|
52 |
var oImg = document.getElementById("img" + Node);
|
|
|
53 |
break;
|
|
|
54 |
}
|
|
|
55 |
oImg.src = imgPlus.src;
|
|
|
56 |
oTable.style.display = "none";
|
|
|
57 |
}
|
|
|
58 |
|
|
|
59 |
function nodeIsVisible(Node){
|
|
|
60 |
switch(navigator.family){
|
|
|
61 |
case 'nn4':
|
|
|
62 |
// Nav 4.x code fork...
|
|
|
63 |
var oTable = document.layers["span" + Node];
|
|
|
64 |
break;
|
|
|
65 |
case 'ie4':
|
|
|
66 |
// IE 4/5 code fork...
|
|
|
67 |
var oTable = document.all["span" + Node];
|
|
|
68 |
break;
|
|
|
69 |
case 'gecko':
|
|
|
70 |
// Standards Compliant code fork...
|
|
|
71 |
var oTable = document.getElementById("span" + Node);
|
|
|
72 |
break;
|
|
|
73 |
}
|
|
|
74 |
return (oTable && oTable.style.display == "block");
|
|
|
75 |
}
|
|
|
76 |
|
|
|
77 |
function toggleNodeVisibility(Node){
|
|
|
78 |
if (nodeIsVisible(Node)){
|
|
|
79 |
hideNode(Node);
|
|
|
80 |
}else{
|
|
|
81 |
showNode(Node);
|
|
|
82 |
}
|
|
|
83 |
}
|
|
|
84 |
</script>
|
|
|
85 |
</head>
|
|
|
86 |
<body>
|
|
|
87 |
<div class="page-body">
|
|
|
88 |
<h2 class="class-name">Class Pattern</h2>
|
|
|
89 |
|
|
|
90 |
<a name="sec-description"></a>
|
|
|
91 |
<div class="info-box">
|
|
|
92 |
<div class="info-box-title">Description</div>
|
|
|
93 |
<div class="nav-bar">
|
|
|
94 |
<span class="disabled">Description</span> |
|
|
|
95 |
<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
|
|
|
96 |
|
|
|
97 |
</div>
|
|
|
98 |
<div class="info-box-body">
|
|
|
99 |
<!-- ========== Info from phpDoc block ========= -->
|
|
|
100 |
<p class="short-description">Classe fournissant des constantes correspondant à des expressions régulières de vérification très courrantes.</p>
|
|
|
101 |
<ul class="tags">
|
|
|
102 |
<li><span class="field">author:</span> Jean-Pascal MILCENT <<a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a>></li>
|
300 |
jpm |
103 |
<li><span class="field">version:</span> $Id: Pattern.php 299 2011-01-18 14:03:46Z jpm $</li>
|
297 |
jpm |
104 |
<li><span class="field">copyright:</span> Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)</li>
|
|
|
105 |
<li><span class="field">link:</span> /doc/framework/</li>
|
|
|
106 |
<li><span class="field">license:</span> <a href="http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt">Licence CECILL-v2</a></li>
|
|
|
107 |
<li><span class="field">license:</span> <a href="http://www.gnu.org/licenses/gpl.html">Licence GNU-GPL-v3</a></li>
|
|
|
108 |
</ul>
|
|
|
109 |
<p class="notes">
|
|
|
110 |
Located in <a class="field" href="_utilitaires---Pattern.php.html">/utilitaires/Pattern.php</a> (line <span class="field"><a href="../__filesource/fsource_Utilitaire__utilitairesPattern.php.html#a15">15</a></span>)
|
|
|
111 |
</p>
|
|
|
112 |
|
|
|
113 |
|
|
|
114 |
<pre></pre>
|
|
|
115 |
|
|
|
116 |
</div>
|
|
|
117 |
</div>
|
|
|
118 |
|
|
|
119 |
|
|
|
120 |
<a name="sec-const-summary"></a>
|
|
|
121 |
<div class="info-box">
|
|
|
122 |
<div class="info-box-title">Class Constant Summary</span></div>
|
|
|
123 |
<div class="nav-bar">
|
|
|
124 |
<a href="#sec-description">Description</a> |
|
|
|
125 |
<span class="disabled">Constants</span> (<a href="#sec-consts">details</a>)
|
|
|
126 |
</div>
|
|
|
127 |
<div class="info-box-body">
|
|
|
128 |
<div class="const-summary">
|
|
|
129 |
<div class="const-title">
|
|
|
130 |
<img src="../media/images/Constant.png" alt=" " />
|
|
|
131 |
<a href="#COURRIEL" title="details" class="const-name">COURRIEL</a> = <span class="var-type"> "[a-z0-9!#$%&'*+=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?"</span>
|
|
|
132 |
|
|
|
133 |
</div>
|
|
|
134 |
<div class="const-title">
|
|
|
135 |
<img src="../media/images/Constant.png" alt=" " />
|
|
|
136 |
<a href="#HEURE_MINUTE" title="details" class="const-name">HEURE_MINUTE</a> = <span class="var-type"> "^(?:[0-1][0-9]|2[0-4]):(?:[0-5][0-9]|60)$"</span>
|
|
|
137 |
|
|
|
138 |
</div>
|
|
|
139 |
<div class="const-title">
|
|
|
140 |
<img src="../media/images/Constant.png" alt=" " />
|
|
|
141 |
<a href="#LATITUDE" title="details" class="const-name">LATITUDE</a> = <span class="var-type"> "^-?([0-8]?[0-9]([.,][0-9]*)?|90)$"</span>
|
|
|
142 |
|
|
|
143 |
</div>
|
|
|
144 |
<div class="const-title">
|
|
|
145 |
<img src="../media/images/Constant.png" alt=" " />
|
|
|
146 |
<a href="#LONGITUDE" title="details" class="const-name">LONGITUDE</a> = <span class="var-type"> "^-?((1[0-7][0-9]|[1-9]?[0-9])([.,][0-9]*)?|180)$"</span>
|
|
|
147 |
|
|
|
148 |
</div>
|
|
|
149 |
<div class="const-title">
|
|
|
150 |
<img src="../media/images/Constant.png" alt=" " />
|
|
|
151 |
<a href="#NOM" title="details" class="const-name">NOM</a> = <span class="var-type"> "[\p{Lu}]+"</span>
|
|
|
152 |
|
|
|
153 |
</div>
|
|
|
154 |
<div class="const-title">
|
|
|
155 |
<img src="../media/images/Constant.png" alt=" " />
|
|
|
156 |
<a href="#PRENOM" title="details" class="const-name">PRENOM</a> = <span class="var-type"> "[\p{L}-]+"</span>
|
|
|
157 |
|
|
|
158 |
</div>
|
|
|
159 |
<div class="const-title">
|
|
|
160 |
<img src="../media/images/Constant.png" alt=" " />
|
|
|
161 |
<a href="#URL" title="details" class="const-name">URL</a> = <span class="var-type"> "^(?:(?: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~!$+|.,=]|%[a-f\\d]{2})+)+|/)+|\\?|#)?(?:(?:\\?(?:[-\\w~!$+|.,*:]|%[a-f\\d{2}])+=(?:[-\\w~!$+|.,*:=]|%[a-f\\d]{2})*)(?:&(?:[-\\w~!$+|.,*:]|%[a-f\\d{2}])+=(?:[-\\w~!$+|.,*:=]|%[a-f\\d]{2})*)*)*(?:#(?:[-\\w~!$+|.,*:=]|%[a-f\\d]{2})*)?$"</span>
|
|
|
162 |
|
|
|
163 |
</div>
|
|
|
164 |
</div>
|
|
|
165 |
</div>
|
|
|
166 |
</div>
|
|
|
167 |
|
|
|
168 |
|
|
|
169 |
|
|
|
170 |
|
|
|
171 |
|
|
|
172 |
<a name="sec-consts"></a>
|
|
|
173 |
<div class="info-box">
|
|
|
174 |
<div class="info-box-title">Class Constants</div>
|
|
|
175 |
<div class="nav-bar">
|
|
|
176 |
<a href="#sec-description">Description</a> |
|
|
|
177 |
<span class="disabled">Constants</span>
|
|
|
178 |
|
|
|
179 |
|
|
|
180 |
</div>
|
|
|
181 |
<div class="info-box-body">
|
|
|
182 |
<a name="constCOURRIEL" id="COURRIEL"><!-- --></A>
|
|
|
183 |
<div class="evenrow">
|
|
|
184 |
|
|
|
185 |
<div class="const-header">
|
|
|
186 |
<img src="../media/images/Variable.png" />
|
|
|
187 |
<span class="const-title">
|
|
|
188 |
<span class="const-name">COURRIEL</span>
|
|
|
189 |
= <span class="const-default"> "[a-z0-9!#$%&'*+=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?"</span>
|
|
|
190 |
(line <span class="line-number"><a href="../__filesource/fsource_Utilitaire__utilitairesPattern.php.html#a18">18</a></span>)
|
|
|
191 |
</span>
|
|
|
192 |
</div>
|
|
|
193 |
|
|
|
194 |
<!-- ========== Info from phpDoc block ========= -->
|
|
|
195 |
|
|
|
196 |
|
|
|
197 |
</div>
|
|
|
198 |
<a name="constHEURE_MINUTE" id="HEURE_MINUTE"><!-- --></A>
|
|
|
199 |
<div class="oddrow">
|
|
|
200 |
|
|
|
201 |
<div class="const-header">
|
|
|
202 |
<img src="../media/images/Variable.png" />
|
|
|
203 |
<span class="const-title">
|
|
|
204 |
<span class="const-name">HEURE_MINUTE</span>
|
|
|
205 |
= <span class="const-default"> "^(?:[0-1][0-9]|2[0-4]):(?:[0-5][0-9]|60)$"</span>
|
|
|
206 |
(line <span class="line-number"><a href="../__filesource/fsource_Utilitaire__utilitairesPattern.php.html#a20">20</a></span>)
|
|
|
207 |
</span>
|
|
|
208 |
</div>
|
|
|
209 |
|
|
|
210 |
<!-- ========== Info from phpDoc block ========= -->
|
|
|
211 |
|
|
|
212 |
|
|
|
213 |
</div>
|
|
|
214 |
<a name="constLATITUDE" id="LATITUDE"><!-- --></A>
|
|
|
215 |
<div class="evenrow">
|
|
|
216 |
|
|
|
217 |
<div class="const-header">
|
|
|
218 |
<img src="../media/images/Variable.png" />
|
|
|
219 |
<span class="const-title">
|
|
|
220 |
<span class="const-name">LATITUDE</span>
|
|
|
221 |
= <span class="const-default"> "^-?([0-8]?[0-9]([.,][0-9]*)?|90)$"</span>
|
|
|
222 |
(line <span class="line-number"><a href="../__filesource/fsource_Utilitaire__utilitairesPattern.php.html#a21">21</a></span>)
|
|
|
223 |
</span>
|
|
|
224 |
</div>
|
|
|
225 |
|
|
|
226 |
<!-- ========== Info from phpDoc block ========= -->
|
|
|
227 |
|
|
|
228 |
|
|
|
229 |
</div>
|
|
|
230 |
<a name="constLONGITUDE" id="LONGITUDE"><!-- --></A>
|
|
|
231 |
<div class="oddrow">
|
|
|
232 |
|
|
|
233 |
<div class="const-header">
|
|
|
234 |
<img src="../media/images/Variable.png" />
|
|
|
235 |
<span class="const-title">
|
|
|
236 |
<span class="const-name">LONGITUDE</span>
|
|
|
237 |
= <span class="const-default"> "^-?((1[0-7][0-9]|[1-9]?[0-9])([.,][0-9]*)?|180)$"</span>
|
|
|
238 |
(line <span class="line-number"><a href="../__filesource/fsource_Utilitaire__utilitairesPattern.php.html#a22">22</a></span>)
|
|
|
239 |
</span>
|
|
|
240 |
</div>
|
|
|
241 |
|
|
|
242 |
<!-- ========== Info from phpDoc block ========= -->
|
|
|
243 |
|
|
|
244 |
|
|
|
245 |
</div>
|
|
|
246 |
<a name="constNOM" id="NOM"><!-- --></A>
|
|
|
247 |
<div class="evenrow">
|
|
|
248 |
|
|
|
249 |
<div class="const-header">
|
|
|
250 |
<img src="../media/images/Variable.png" />
|
|
|
251 |
<span class="const-title">
|
|
|
252 |
<span class="const-name">NOM</span>
|
|
|
253 |
= <span class="const-default"> "[\p{Lu}]+"</span>
|
|
|
254 |
(line <span class="line-number"><a href="../__filesource/fsource_Utilitaire__utilitairesPattern.php.html#a17">17</a></span>)
|
|
|
255 |
</span>
|
|
|
256 |
</div>
|
|
|
257 |
|
|
|
258 |
<!-- ========== Info from phpDoc block ========= -->
|
|
|
259 |
|
|
|
260 |
|
|
|
261 |
</div>
|
|
|
262 |
<a name="constPRENOM" id="PRENOM"><!-- --></A>
|
|
|
263 |
<div class="oddrow">
|
|
|
264 |
|
|
|
265 |
<div class="const-header">
|
|
|
266 |
<img src="../media/images/Variable.png" />
|
|
|
267 |
<span class="const-title">
|
|
|
268 |
<span class="const-name">PRENOM</span>
|
|
|
269 |
= <span class="const-default"> "[\p{L}-]+"</span>
|
|
|
270 |
(line <span class="line-number"><a href="../__filesource/fsource_Utilitaire__utilitairesPattern.php.html#a16">16</a></span>)
|
|
|
271 |
</span>
|
|
|
272 |
</div>
|
|
|
273 |
|
|
|
274 |
<!-- ========== Info from phpDoc block ========= -->
|
|
|
275 |
|
|
|
276 |
|
|
|
277 |
</div>
|
|
|
278 |
<a name="constURL" id="URL"><!-- --></A>
|
|
|
279 |
<div class="evenrow">
|
|
|
280 |
|
|
|
281 |
<div class="const-header">
|
|
|
282 |
<img src="../media/images/Variable.png" />
|
|
|
283 |
<span class="const-title">
|
|
|
284 |
<span class="const-name">URL</span>
|
|
|
285 |
= <span class="const-default"> "^(?:(?: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~!$+|.,=]|%[a-f\\d]{2})+)+|/)+|\\?|#)?(?:(?:\\?(?:[-\\w~!$+|.,*:]|%[a-f\\d{2}])+=(?:[-\\w~!$+|.,*:=]|%[a-f\\d]{2})*)(?:&(?:[-\\w~!$+|.,*:]|%[a-f\\d{2}])+=(?:[-\\w~!$+|.,*:=]|%[a-f\\d]{2})*)*)*(?:#(?:[-\\w~!$+|.,*:=]|%[a-f\\d]{2})*)?$"</span>
|
|
|
286 |
(line <span class="line-number"><a href="../__filesource/fsource_Utilitaire__utilitairesPattern.php.html#a19">19</a></span>)
|
|
|
287 |
</span>
|
|
|
288 |
</div>
|
|
|
289 |
|
|
|
290 |
<!-- ========== Info from phpDoc block ========= -->
|
|
|
291 |
|
|
|
292 |
|
|
|
293 |
</div>
|
|
|
294 |
|
|
|
295 |
</div>
|
|
|
296 |
</div>
|
|
|
297 |
|
|
|
298 |
<p class="notes" id="credit">
|
302 |
jpm |
299 |
Documentation generated on Tue, 18 Jan 2011 15:30:55 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
|
297 |
jpm |
300 |
</p>
|
|
|
301 |
</div></body>
|
|
|
302 |
</html>
|