Ola,
http://www.amk.ca/python/howto/regex/
is a pretty gentle intro
[]'s
Ian
On 5/9/07, gsmith <[EMAIL PROTECTED]> wrote:
>
> Is there any documentation of what these do? I'm assuming that this
> is a Python regular expression?
>
> The reason I ask is becuase I have a line in my urls.py file tha
> '[-\w-]' is character class combining '\w' and a hyphen
Had a typo there; should be '[-\w]'
--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goog
On 5/8/07, gsmith <[EMAIL PROTECTED]> wrote:
> I don't understand what [\w-]{1,100} and [\w-]+ are doing. Can you
> please explain?
Your best bet is to consult a good reference on regular expressions;
they're among the topics that "every programmer needs to understand".
Jeffrey Friedl's book "Ma
limodou,
I don't understand what [\w-]{1,100} and [\w-]+ are doing. Can you
please explain?
Thank You
On May 8, 9:55 pm, limodou <[EMAIL PROTECTED]> wrote:
> On 5/9/07, gsmith <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Is there any documentation of what these do? I'm assuming that this
> > is a
On 5/9/07, gsmith <[EMAIL PROTECTED]> wrote:
>
> Is there any documentation of what these do? I'm assuming that this
> is a Python regular expression?
>
> The reason I ask is becuase I have a line in my urls.py file that
> looks like this
>
> (r'^csi/rso/(news|members)/(\w{1,100})/$',
> 'mysite.r
Is there any documentation of what these do? I'm assuming that this
is a Python regular expression?
The reason I ask is becuase I have a line in my urls.py file that
looks like this
(r'^csi/rso/(news|members)/(\w{1,100})/$',
'mysite.rso.views_rso.showtitlepage'), This works fine when the value
6 matches
Mail list logo