No such thing as a small change | |
PerlMonks |
Re^6: Comparative satisfiability of regexps.by Meowse (Beadle) |
on Jan 21, 2005 at 01:10 UTC ( [id://423858]=note: print w/replies, xml ) | Need Help?? |
I still maintain that there's a difference between quantifiable stochastic approaches (where one can state definitively how likely it is that the number is non-prime) and Monte Carlo approaches (where one throws possible disconfirming values at it until one "feels confident" that it's "tested enough").
If the nature of your regexps were such that you could say "of the possible million values in the range, we have tested a randomly selected 10% of them, and thus we are reasonably confident that the regexps will work for all values", I'd be willing to consider it as evidence, if not functional proof. But with a potentially infinite range for the regexps, I wouldn't even consider it evidence. Take care, Mickey.
In Section
Seekers of Perl Wisdom
|
|