[darcs-devel] [issue2065] Non-friendly error when invalid regex in boring file

Owen Stephens bugs at darcs.net
Mon Apr 18 00:40:14 UTC 2011


New submission from Owen Stephens <darcs at owenstephens.co.uk>:

Say you momentarily forget that boring needs to contain regexes, not
globs, and your boring file contains just:
*.whatever

Then executing `darcs wh -l` gives:
darcs failed:  Text.Regex.Posix.String died: (ReturnCode 13,"Invalid
preceding regular expression")

Can we make this slightly more user-friendly? The error is fairly
descriptive, but doesn't necessarily explain why and where it's come from.

----------
messages: 13937
nosy: owst
priority: feature
status: unknown
title: Non-friendly error when invalid regex in boring file

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue2065>
__________________________________


More information about the darcs-devel mailing list