Changeset 3053
- Timestamp:
- Jan 4, 2013, 4:47:29 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpc/trunk/project/batch/commission/parse_commission.pl
r3052 r3053 143 143 $inter2fonction{$intervenant} = $fonction; 144 144 } 145 return $intervenant; 145 146 } 146 147 … … 172 173 $intervenant =~ s/^l[ea]\s+//i; 173 174 if ($intervenant =~ /([pP]résidente?|[rR]apporteur[a-zé\s]+)\s([A-Zé].*)/) { #\s([A-Z].*)/i) { 174 setFonction($1, $2); 175 return $2; 175 return setFonction($1, $2); 176 176 } 177 177 $conv = $fonction2inter{$intervenant}; … … 362 362 checkout(); 363 363 $found = $majIntervenant = 1; 364 setFonction($2, $1); 365 $intervenant = setIntervenant($1); 364 $intervenant = setFonction($2, $1); 366 365 }elsif ($line =~ s/^[Llea\s]*\|[Llea\s]*([pP]résidente?) (([A-ZÉ][^\.: \|]+ ?)+)[\.: \|]*//) { 367 366 $f = $1; 368 367 $i = $2; 369 368 $found = $majIntervenant = 1; 370 checkout(); 371 setFonction($f, $i); 372 $intervenant = setIntervenant($i); 369 checkout(); 370 $intervenant = setFonction($f, $i); 373 371 }elsif ($line =~ s/^[Llea\s]*\|[Llea\s]*([pP]résidente?|[rR]apporteure?)[\.: \|]*//) { 374 372 $tmpfonction = lc($1);
Note: See TracChangeset
for help on using the changeset viewer.