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

Re: Regexp for parsing urls

From: Andy Levy <andy.levy_at_gmail.com>
Date: Sat, 17 Apr 2010 00:41:28 -0400

On Fri, Apr 16, 2010 at 17:47, Pablo Beltran <pbeltranl_at_gmail.com> wrote:
> Hi,
>
> Do you know a regexp to validate Subversion urls?
>
> I've written one quite basic
>
> /^(svn|file|http|https):\/\/\w+(:[0-9]+)?(\/\w*)*/
>
> but it doesn't work for all cases.

Can you provide examples of cases which don't work?
Received on 2010-04-17 06:42:25 CEST

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

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