Michael D. Crawford wrote:
Can you help me match a literal ? in a regular expression? Looking for \? doesn't match anything at all, I think analog is looking for one or more repetitions of the backslash.
I have also tried \?{1}
I want to match on URLs that have a single ? in them at a certain place, but not just anywhere. The reason is that I'm using URL parameters to track my ads, and in ads for http://www.goingware.com/tips/ I have ads with URLs for the form:
http://www.goingware.com/?s=1&d=3&t=7
The parameters encode variants of my ads that I've tried, and my object is that I can make quick reports on all my ads with a Python script (which I have yet to write).
Here are the relevant lines from my config file:
FILEEXCLUDE /* FILEINCLUDE /tips/ FILEINCLUDE /tips/\?{1}*
I have also tried
FILEINCLUDE /tips/\?*
and it doesn't match anything.
Thanks for any help you can give me.
Michael D. Crawford [EMAIL PROTECTED]
\? is the correct Regexp syntax for matching a question mark. You just need to precede the statement with REGEXP: for analog to process it as something other than a normal wildcard match:
FILEINCLUDE REGEXP:/tips/\?.*
-- Jeremy Wadsack Seven Simple Machines
+------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.meer.net/mailman/listinfo/analog-help | | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general | List archives: http://www.analog.cx/docs/mailing.html#listarchives +------------------------------------------------------------------------

