[darcs-users] Error on systems with case insensitive filesystems
Stephen J. Turnbull
stephen at xemacs.org
Mon Oct 26 15:29:42 UTC 2009
Jason Dagit writes:
> What does (^|/) match?
The beginning of a path component, either the beginning of a line or a
Unix directory separator.
> 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. Nowadays people would usually write that
"(\.[0-9]+)?$", I think.
More information about the darcs-users