2011/2/21 OJ Reeves <o...@buffered.io>:
> Would it not be better to just escape the path?
> build_path = re.sub(re.escape(build_path), ....
My first crack at this used re.escape, but there was something I
wasn't getting. As I explored my misunderstanding it occurred to me
that using the string replace function would make sense; Blogofile
isn't actually using the awesome awesomeness of regular expressions
here anyway.
I'm sure it wouldn't take much to get re.sub to work and I posted the
diff more to illustrate my research than to encourage my
implementation of the fix.
--
You received this message because you are subscribed to the Google Groups "blogofile-discuss" group.
To post to this group, send email to blogofil...@googlegroups.com.
To unsubscribe from this group, send email to blogofile-disc...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/blogofile-discuss?hl=en.
--
You received this message because you are subscribed to the Google Groups "blogofile-discuss" group.
To post to this group, send email to blogofil...@googlegroups.com.
To unsubscribe from this group, send email to blogofile-disc...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/blogofile-discuss?hl=en.
OJ, sorry for letting this bug slide for almost a month, embarrassing
when it was such an obvious fix. :x
-Ryan