- Timestamp:
- Nov 5, 2011, 1:55:24 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpc/branches/senat/project/batch/hemicycle/parse_hemicycle.pl
r2466 r2471 178 178 $tmpinter = $1; 179 179 } 180 $tmpinter =~ s/^\s*M[mles]{0,3}[\.\s]+//;181 180 $tmpfonction = ''; 182 181 $tmpurl_inter = ''; … … 189 188 $tmpinter =~ s/<[^>]*>//g; 190 189 $tmpinter =~ s/[\.,]\s*$//; 190 $tmpinter =~ s/^\s*M[mles]{0,3}[\.\s]+//; 191 191 $tmpfonction =~ s/[\.,]\s*$//; 192 192 #Cas mauvais formatage des interventions … … 212 212 s/<span class="info_entre_parentheses">([^\(][^<]*)<\/span>/<i>\1<\/i>/g; 213 213 } 214 214 s/<\/sup><i>/<\/sup> <i>/gi; 215 215 if (!(/"titre_S([123][^"]*)"/ || /"mention_(article)"/)) { 216 s/<\/?(sup|br?|strong)\/?>//gi; 216 217 while (s/([^>]*)<(i|span class="info_entre_parentheses")>\(([^\)]*)\)?<\/(i|span)>([\.\s\)]*)//) { 217 218 $i = $1; … … 253 254 s/\.\.\.\.+//g; 254 255 s/\s+$//; 255 s/<\/sup><i>/<\/sup> <i>/gi;256 256 if ($_) { 257 257 if ($iscontext) {
Note: See TracChangeset
for help on using the changeset viewer.