Is there a way to find of most precise regex for a string?
For e.g.
Lets say, I have 2 regex:

1) `.*bourne`  

2) `.*ne`

If I try to match `Melbourne` with the above regex, it will match with both regex. 

But more precise match will be the first regex. Similarly, there can be very complex regex.

Is there a way to find the most precise match?