This isn't true: forward slashes are not meaningful in Python regular
expressions, and so do not need to be escaped. Even if you choose to
(it doesn't hurt), you'd escape them with backslashes, not forward slashes.
--Ned.
http://nedbatchelder.com
James Matthews wrote:
> It's a regex you need t
On Sep 8, 2008, at 7:04 AM, Thomas Guettler wrote:
> I discovered, that double slashes get through my regular expressions.
> Is it possible to reject URLs with double slashes?
>
> http://.../...//test// (double slash before and after "test")
Another way to approach it is to allow variable amoun
It's a regex you need to escape both slashes so you are looking at
On Mon, Sep 8, 2008 at 4:04 AM, Thomas Guettler <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I discovered, that double slashes get through my regular expressions.
> Is it possible to reject URLs with double slashes?
>
> http://.../
3 matches
Mail list logo