[ovs-dev] [PATCH 01/14] ovsdb-doc: Distinguish hyphens and minus signs in nroff output.

Justin Pettit jpettit at nicira.com
Thu Apr 15 22:36:11 UTC 2010


On Apr 8, 2010, at 5:06 PM, Ben Pfaff wrote:

> -    s = re.sub('([\\\\"\'])', escape, s)
> +    s = re.sub('([-\\\\"\'])', escape, s)

It may be useful to add a comment explaining that "\\\\" is being escaped down to "\\" in order to be escaped down "\" for the regular expression library.  It was not obvious to me that this was plan.

--Justin






More information about the dev mailing list