Ignore:
Timestamp:
Jun 13, 2011, 1:09:01 PM (10 years ago)
Author:
goya
Message:

correction amdmt avec groupe SRC mal parsé

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/batch/amendements/cut_amdmt.pl

    r1753 r2013  
    285285$amdmt{'auteurs'} =~ s/\s*,\s*$//g;
    286286$amdmt{'auteurs'} =~ s/ et(\W)/\1/g;
     287$amdmt{'auteurs'} =~ s/([^,])(\s*les.*membres.*groupe.*)$/\1, \2/i;
    287288
    288289print '{"source": "'.$source.'", "legislature": "'.$amdmt{'legislature'}.'", "loi": "'.$amdmt{'loi'}.'", "numero": "'.$amdmt{'numero'}.'", "serie": "'.$amdmt{'serie'}.'", "rectif": "'.$amdmt{'rectif'}.'", "parent": "'.$amdmt{'parent'}.'", "date": "'.$amdmt{'date'}.'", "auteurs": "'.$amdmt{'auteurs'}.'", "sort": "'.$amdmt{'sort'}.'", "sujet": "'.$amdmt{'sujet'}.'", "texte": "'.$amdmt{'texte'}.'", "expose": "'.$amdmt{'expose'}.'" } '."\n";
Note: See TracChangeset for help on using the changeset viewer.