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. _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
