HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: Problem with filter ranges
Author: William Roeder
Date: 02/08/2008 03:47
 
> > Thumbnails.php*album=*[0-9]* matches
> > thumnails.php?album=topn... 
> > 
> > The *[0-9] matches nothing and the last asterisk
> > matches the topn.  
> > 
> > The manual says * matches 0 or more.  
> 
> That's irrelevant. What's relevant is if *[0-9]
> matches 0 characters (which would be stupid since
> then it would always match and it would be
> pointless). If *[0-9] requires there to be at least
> one digit (in the range 0-9) then it should follow
> that x*[0-9]* matches x followed by at least one
> digit.
The manual says * matches 0 or more, NOT 1 or more.

> > If you want album=999 you need *album=*[0-9] 
> 
> Why would that work if *[0-9] matches 0 characters?> Then *album*[0-9] would
match the "album=" part of
> "album=foo", right?"*album=*[0-9]" matches the "album=" part but wont match
album=foo
"*album=*[0-9]*" matches album=anything
 
Reply Create subthread


All articles

Subject Author Date
Problem with filter ranges

02/07/2008 14:26
Re: Problem with filter ranges

02/07/2008 17:18
Re: Problem with filter ranges

02/07/2008 20:39
Re: Problem with filter ranges

02/07/2008 22:04
Re: Problem with filter ranges

02/08/2008 01:19
Re: Problem with filter ranges

02/08/2008 03:47
Re: Problem with filter ranges

02/08/2008 05:12
Re: Problem with filter ranges

02/08/2008 05:32
Re: Problem with filter ranges

02/08/2008 05:45
Re: Problem with filter ranges

02/08/2008 06:14
Re: Problem with filter ranges

02/08/2008 16:58
Re: Problem with filter ranges

02/12/2008 15:02
Re: Problem with filter ranges

06/25/2011 05:36




c

Created with FORUM 2.0.11