[darcs-users] Error on systems with case insensitive filesystems
Trent W. Buck
twb at cybersource.com.au
Sat Oct 31 08:08:08 UTC 2009
"Stephen J. Turnbull" <stephen at xemacs.org> writes:
> Jason Dagit writes:
>> Similarly, (\.[0-9]+|)$ is odd to me.
> That's an optional fractional part at the end of the line. The
> alternative is empty. Somebody pretty ancient probably wrote that;
> it's an idiom from POSIX "basic regular expressions" where the '?'
> operator didn't exist.
Modern POSIX BREs have ? -- it's just escaped. The ERE
is equivalent to the BRE
> Nowadays people would usually write that "(\.[0-9]+)?$", I think.
It could well have come about because I was tired and using Emacs'
regexp-opt instead of using my brain.
More information about the darcs-users