[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-diffutils] bug#22245: bug#22245: address@hidden: Bug#809007: diffut

From: Paul Eggert
Subject: [bug-diffutils] bug#22245: bug#22245: address@hidden: Bug#809007: diffutils: FTBFS: FAIL: test-update-copyright.sh]
Date: Sat, 26 Dec 2015 11:15:43 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

Santiago Vila wrote:
I find a little bit odd that only the left brace is escaped in
the git commit above. Sure, it will remove the warning about the
left brace, but it looks a little bit inconsistent.

It depends on which sort of consistency one wants. I mildly prefer omitting backslashes when not needed, as this helps avoid usages like:

grep '\[.*\]' *.c

which has undefined behavior due to the '\]'. Admittedly that's a POSIX regular expression, not Perl.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]