in reply to Re: Tips on how to perform this regex query
in thread Tips on how to perform this regex query

Sorry roboticus, but what do you think running one of those 'edit distance' algorithms on the two strings will actually tell the OP?

To save time, I'll tell you. Ta-dah:

1073!

Which means what?

My best guess:

It doesn't tell him how different they are, nor where the best match occurs,

Not even if the shorter actually appears in the larger to any meaningful measure of the term.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.