Junio C Hamano [off-list ref] writes:
David Kastrup [off-list ref] writes:
quoted
Just for the record: I believe that \{1,\} might be portable.
Yeah, I obviously looked at the page I quoted that describes
what's in and what's not in BRE definition ;-)
As a maintainer of a public project I understand you have to deal
with the current set of variations, and you might know better than
me about the current portability situation.
Don't ask. That was what "just for the record" was about. In
practice, one uses the most simplistic expressions (and then some) and
prays, and your patches are quite in line with that.
Basically, one has to bear up under attack from two sides: the Windows
side with its idiosyncratic file names (and habitual spaces) under the
Cygwin and MSYS environments (which are quite Posix and GNU), and the
non-Posix madness from all sorts of Unices all across the utilities.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum