Re: Trouble with regex

2008-08-18 Thread Fernando Rodríguez
El lun, 18-08-2008 a las 13:10 -0500, Malcolm Tredinnick escribió: > It looks like you might be making an assumption that the patterns are > concatenated. This isn't correct. > > The patterns in resume_templates.urls will be applied to the suffixes of > the URLs matching resumes (after the first

Re: Trouble with regex

2008-08-18 Thread Malcolm Tredinnick
On Mon, 2008-08-18 at 20:04 +0200, Fernando Rodríguez wrote: > El lun, 18-08-2008 a las 12:49 -0500, Norman Harman escribió: > > > > > I'm fairly certain the space indicates an urls came from an "include". > > The spaces are not really part of regex. > > OK > > > > > > In latter case caree

Re: Trouble with regex

2008-08-18 Thread Fernando Rodríguez
El lun, 18-08-2008 a las 10:35 -0700, Rajesh Dhawan escribió: > > You need to remove replace /jss/ there with jss/: > > (r'jss/(?P[-\w]+)/$', jss_list), > Ouch! O:-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

Re: Trouble with regex

2008-08-18 Thread Fernando Rodríguez
El lun, 18-08-2008 a las 12:49 -0500, Norman Harman escribió: > > I'm fairly certain the space indicates an urls came from an "include". > The spaces are not really part of regex. OK > > In latter case career would be word > > > Your urls should be like this: >(r'^(?P[-\w]+)/$', caree

Re: Trouble with regex

2008-08-18 Thread Norman Harman
Fernando Rodríguez wrote: > Hi, > > I have the following regexes on my django app urls.py: > > urlpatterns = patterns('', > ># List of all resumes for a given Career >(r'(?P[-\w]+)/$', career_list), >

Re: Trouble with regex

2008-08-18 Thread Rajesh Dhawan
Hi Fernando, > I have the following regexes on my django app urls.py: > > urlpatterns = patterns('', > ># List of all resumes for a given Career >(r'(?P[-\w]+)/$', career_list), > ># List of all resumes for a given jss >

Trouble with regex

2008-08-18 Thread Fernando Rodríguez
Hi, I have the following regexes on my django app urls.py: urlpatterns = patterns('', # List of all resumes for a given Career (r'(?P[-\w]+)/$', career_list), # List of all resume