|
/
Zope
/
Apsis
/
Pound Mailing List
/
Archive
/
2009
/
2009-03
/
case insensitive URL directive
[
Multiple Address lines per listener / ... ]
[
https access on my web server / Sylvain Desveaux ... ]
case insensitive URL directive
"Peter Zsigmond" <Peter.Zsigmond(at)teligence.net> |
2009-03-23 22:55:30 |
[ FULL ]
|
Hi,
Do you guys know a way to make my url matching case-insensitive? I'm
working with a bunch of windows webservers and the requests I'm getting
are all mixed up.
Thanks,
Peter
|
|
|
|
|
Re: [Pound Mailing List] case insensitive URL directive
Robert Segall <roseg(at)apsis.ch> |
2009-03-25 18:10:00 |
[ FULL ]
|
On Mon, 2009-03-23 at 14:55 -0700, Peter Zsigmond wrote:[...]
[Tt][Hh][Ii][Ss] matches this, This, tHis and ThIS.[...]
|
|
|
RE: [Pound Mailing List] case insensitive URL directive
"Peter Zsigmond" <Peter.Zsigmond(at)teligence.net> |
2009-03-25 18:27:22 |
[ FULL ]
|
I have 17 URLs and some of them more than 10 characters long :) I was hoping
there is a switch to make the whole pattern matching case-insensitive. Like
"/.*blabla.*/i"
-----Original Message-----
From: Robert Segall [mailto:roseg(at)apsis.ch]
Sent: Wednesday, March 25, 2009 10:10 AM
To: pound(at)apsis.ch
Subject: Re: [Pound Mailing List] case insensitive URL directive
Importance: Low
On Mon, 2009-03-23 at 14:55 -0700, Peter Zsigmond wrote:[...]
[Tt][Hh][Ii][Ss] matches this, This, tHis and ThIS.[...]
|
|
|
Re: [Pound Mailing List] case insensitive URL directive
Sebastiaan van Erk <sebster(at)sebster.com> |
2009-03-25 19:45:45 |
[ FULL ]
|
If you've got PCRE compiled in you could use (?i) to turn on caseless
matching. From the PCRE manpage:
An option change within a subpattern (see below for a description of
subpatterns) affects only that part of the current pattern that follows
it, so
(a(?i)b)c
matches abc and aBc and no other strings (assuming PCRE_CASELESS is not
used).
Regards,
Sebastiaan
Peter Zsigmond wrote:[...]
|
| Attachments: | | |
| smime.p7s |
application/x-pkcs7-signature |
3328 Bytes |
|
|
|
|