Can you search for images with spaces in them? It's currently \w, which would match only word characters, not spaces. I'd switch that to (.*).