forked from unicovoit/unicovoit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
universities.ts
50 lines (48 loc) · 1.34 KB
/
universities.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
export interface University {
id: string,
name: string,
country: string,
format: RegExp,
}
/**
* List and email format of all supported universities
*/
const universities: University[] = [
{
id: 'ubs',
name: 'Université Bretagne Sud',
country: 'France',
format: /^[A-Za-z\-]+\.e\d{7}@etud\.univ-ubs\.fr$/
}, {
id: 'rennes1',
name: 'Université de Rennes 1',
country: 'France',
format: /^[A-Za-z\-]+\.[A-Za-z\-]+@etudiant\.univ-rennes1\.fr$/
}, {
id: 'rennes2',
name: 'Université de Rennes 2',
country: 'France',
format: /^[A-Za-z\-]+\.[A-Za-z\-]+@etudiant\.univ-rennes2\.fr$/
}, {
id: 'insaRennes',
name: 'INSA Rennes',
country: 'France',
format: /^[A-Za-z\-.\d]+@insa-rennes\.fr$/
}, {
id: 'univBrest',
name: 'Université de Bretagne Occidentale',
country: 'France',
format: /^[A-Za-z\-]+\.[A-Za-z\-]+@etudiant\.univ-brest\.fr$/
}, {
id: 'esiea',
name: 'ESIEA Paris/Laval',
country: 'France',
format: /^[A-Za-z\-]+@et\.esiea\.fr$/
}, {
id: 'sorbonneNouvelle',
name: 'Sorbonne Nouvelle - Paris 3',
country: 'France',
format: /^[\dA-Za-z\-.]+@sorbonne-nouvelle\.fr$/
},
]
export default universities