Re: iregex and word boundaries
I think that you either need to use raw strings (r'stuff') or backslash the backslashes. On Fri, Jul 19, 2013 at 1:34 PM, Michael Soulier wrote: > Hi, > > I'm trying to match a number using word boundaries like so > > record = SipClient.objects.get( >
iregex and word boundaries
Hi, I'm trying to match a number using word boundaries like so record = SipClient.objects.get( dnlist__iregex='\b%s\b' % dn ) but this is failing to find simple dnlist matches like 1234, while this does w