IE, let's say you have regex "blah.*blah" and regex "blah".
And a string that matches both. I would say that the best match would be the first, because this has smaller odds of matching any given string of length n.
This seems to cover all cases to me. Where would this not be true?
In reply to Re: Most specific pattern
by tphyahoo
in thread Most specific pattern
by thor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |