Ajouter un commentaire

johnstyle
Re: regex pour pagination articles

Il y avait une petite faute ([0-9] mal fermé) :
"^/(.*\/\d{4}\/\d{2}\/\d{2})/([0-9a-zA-Z-_]+)/?([0-9]{0,1})$" => "/index.php?module=$1&opts=$2&pagination=$3"

Ceci-dit essaye cette expression ci :
"^/([^/]+/d{4}/d{2}/d{2})/([^/]+)/?([0-9]+)?$" => "/index.php?module=$1&opts=$2&pagination=$3"

Filtered HTML

Plain text

CAPTCHA
Cette question permet de vérifier que vous n'êtes pas un robot spammeur :-)
 ZZZZZ  III  M   M  L      GGG  
Z I MM MM L G
Z I M M M L G GG
Z I M M L G G
ZZZZZ III M M LLLL GGG