Re: regex works in python, not in django

2008-05-23 Thread skunkwerk
thanks! dumb mistake On May 23, 7:42 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Fri, May 23, 2008 at 10:36 PM, skunkwerk <[EMAIL PROTECTED]> wrote: > > > I'm quite puzzled by this... I have a line of code that is supposed to > > strip a variable of any non-alphanumeric characters (such a

Re: regex works in python, not in django

2008-05-23 Thread Karen Tracey
On Fri, May 23, 2008 at 10:36 PM, skunkwerk <[EMAIL PROTECTED]> wrote: > > I'm quite puzzled by this... I have a line of code that is supposed to > strip a variable of any non-alphanumeric characters (such as > whitespace): > > in my python shell, this works fine: > >>>key4cache = '!yahoo' > >>>re