I'm trying to do a query filter with a regex expression where I want to search for a word character. I'm using postgresql and if I do Blog.objects.filter(post__regex=r'[\w]'), django ends up using [\\w] in the query. I can't seem to get one backslash in the query. Is there some way to do this? [\\w] is different from [\w] so this really messes up my query.
Thanks in advance. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---