Changeset 2633 for cpc/trunk/project/batch
- Timestamp:
- Feb 5, 2012, 2:45:50 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpc/trunk/project/batch/amendements/cut_amdmt.pl
r2608 r2633 3 3 $file = shift; 4 4 use HTML::TokeParser; 5 require ("../common/common.pm"); 5 6 6 7 my %amdmt; … … 190 191 numero(); 191 192 } 192 } elsif ($line =~ /date_ amend.(\d{1,2}) avril (\d{4})\D/i && !$amdmt{'date'}) {193 $amdmt{'date'} = $2.'-04-'.sprintf('%02d',$1);193 } elsif ($line =~ /date_?amend.*([0-9]+e?r? \S+ [0-9]+)\D/i && !$amdmt{'date'}) { 194 $amdmt{'date'} = join '/', reverse datize($1); 194 195 } elsif ($line =~ /class="amddispotitre"/i && !$amdmt{'sujet'}) { 195 196 $line =~ s/<[^>]+>//g; … … 276 277 texte(); 277 278 } 278 } elsif ($presente == 1 && $line =~ /<(p style=".*text-indent:.*|td align="center"[^>]*)>.* M[\.Mml]/i) {279 } elsif ($presente == 1 && $line =~ /<(p style=".*text-indent:.*|td align="center"[^>]*)>.*(M[\.Mml]|Le gouvern)/i) { 279 280 auteurs(); 280 281 } elsif ($line =~ /\<p style=".*text-indent:/i) {
Note: See TracChangeset
for help on using the changeset viewer.