I've got a pretty "simple" problem, however i can't determine what is wrong. I am while using following rewrite rule to rewrite an url like:

/article-product-title-id1-id2 to index.php?id1=id1&id2=id2

RewriteRule ^article-.*-[^\d]*-([1-9][0-9]*)-([1-9][0-9]*)\.html index.php?id=1$1&id2=$2 [R]

That one works just like a charme, but I wish to keep your speeking web addresses and for your I attempted to make use of the L flag in the finish:

RewriteRule ^article-.*-[^\d]*-([1-9][0-9]*)-([1-9][0-9]*)\.html index.php?id1=$1&id2=$2 [L]

which does not work for whatever reason. I am always obtaining the index.php page, without params... However when I alter the delimiter from the dash to some slash, it really works:

RewriteRule ^article/.*-[^\d]*-([1-9][0-9]*)-([1-9][0-9]*)\.html index.php?id1=$1&id2=$2 [L]

Any ideas? Thanks ahead of time!