Rev 49 |
Show entire file |
Ignore whitespace |
Details |
Blame |
Last modification |
View Log
| RSS feed
Rev 49 |
Rev 61 |
Line 1... |
Line 1... |
1 |
<?php
|
1 |
<?php
|
2 |
class Pattern {
|
2 |
class Pattern {
|
3 |
const PRENOM = "[\p{L}-]+";// Pattern prénom
|
3 |
const PRENOM = "[\p{L}-]+";// Pattern prénom
|
4 |
const NOM = "[\p{Lu}]+";// Pattern nom
|
4 |
const NOM = "[\p{Lu}]+";// Pattern nom
|
5 |
const COURRIEL = "[a-z0-9!#$%&'*+=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?";// Pattern courriel
|
5 |
const COURRIEL = "[a-z0-9!#$%&'*+=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?";// Pattern courriel
|
6 |
}
|
- |
|
7 |
|
6 |
}
|
- |
|
7 |
?>
|
- |
|
8 |
|
8 |
|
9 |
|