One of those days

I had one of those days the other day.  Not quite a case of the Mondays, but one where I thought maybe I should just go home and start over.  If you’re trying to get this test to pass:

public void Good_times()
    Regex.IsMatch(@"^d*$", "123456").ShouldBeTrue();

Then maybe it’s time to call it a day.  You really don’t want to know how many regex tutorial and expression evaluator sites I went to on this one.  Only to find out my method arguments were backwards.

Strategies and discriminators in NHibernate