For a rewrite that seems to work, I want to be sure itís really correct, lest there be some possible error Iím unaware of.

I'm using this:
Code:
RewriteRule ^(\d+)$ index.php?a=$1
RewriteRule ^([\D+]|[\D|\d]+)$ index.php [L]
to do this
Code:
slideshow/12      =>     slideshow/index.php$a=12
The first rule handles numbers (with the index.php handling out-of-range numbers), and for thoroughness I want any invalid queries such as
Code:
slideshow/hgyt
slideshow/23ab
slideshow/23&
to go index.php with no query string.

Iím hoping the second ruleís condition says: ďany non-numeric or any mix of numeric and non-numericĒ. It seems to work.

Is it fully correct?

Thank you.