View Single Post
Old 03-25-2006, 08:22 AM   #7
DTM
Intentionally Left Blank
DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.
 
DTM's Avatar
 
Posts: 172
Karma: 300106
Join Date: Feb 2006
Location: Royal Oak, MI, USA
Device: Nook STR
You're welcome! Glad I could help.

Just a clarification for those who are trying to understand the syntax of these things. In the above post I have SunriseXP match the pattern:

http://www\.aciprensa\.com/calendario/calendario\.php(.*)

This works, but strictly speaking I should have written:

http://www\.aciprensa\.com/calendario/calendario\.php.*

The first expression matches anything at the end and saves the (.*) part so it can be referred to as $1 in the rewrite expression. The second expression, without the parentheses, would also match anything at the end, but does not save the ending part. Since I'm not rewriting the link, the result is the same whether I save the ending or not so there is no need to specify that it should be saved. This is why you will see some expressions with (.*) and others with just .*
DTM is offline