From: Robert Klemme Date: 2008-05-14T07:15:02+09:00 Subject: Re: detail on a regex? Please do not top post. On 13.05.2008 23:32, Kyle Schmitt wrote: > Hum. Yea, but I want the error messages to be helpful for when I'm > not the one running the program. Usually I'd make the error message contain a description of the valid format in prose or sufficient examples if I feel that users might not know this. An alternative is to dump command line help if there is a parameter error. > And also somewhat unique to the reason the error was thrown, just in > case I need to track it down and find out there's a logic error on my > part. For that you sure have unit tests in place... :-) Kind regards robert