lucy24 - 2:53 am on Sep 30, 2013 (gmt 0)
A while back, there was a superb post from someone whose real-life, non-hypothetical parameters contained other parameter names within themselves.
Needless to say I can't find it now, but it was amazingly useful.
means the last thing in the query string is "page=25":
and so on.
The value can't be 250 or 25z or 250000 -- but there also can't be any other paremeters.
means the element "page" is the complete name of this parameter. There may or may not be earlier parameters in the same query string.
When you need to separate out one element of a query string, it looks like this:
You have to use that complicated business with parentheses and pipes because & is a literal character while ^ and $ are anchors. "Query String" means the whole thing; mod_rewrite can't see individual parameters.
If you say &) in the Forums, you have to either click 'Disable Graphic Smileys' or put it inside Code markup. The & turns into & which in turn triggers the ;)