[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] [Issue 1942] svn+ssh should use the port value

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2006-02-07 15:00:36 CET

On Tue, 7 Feb 2006, Kamesh Jayachandran wrote:

> Does not seem so.
>
> With regards
> Kamesh Jayachandran
> Peter N. Lundblad wrote:
> > On Tue, 7 Feb 2006, Kamesh Jayachandran wrote:
> >
> >
> >> Hi Peter,
> >>
> >> The re.escape does not seem to work as it escapes all the alphanumeric
> >> characters like ':', '/'
> >>
> >
> > OK, I thought re.escape was meant for this situation. Doesn't the RE
> > parser treat \: as a plain colon? (I didn't test, and if you tested,
> > you're probably right).
> >

Hmmm... I tried something like this:
u="svn+ssh://host:89/peter%20lundblad"
re.match(escape(u), u)

It matches.

What were you trying? Did you escape the whole regex, or just the URL?

Thanks,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 7 15:01:48 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.