in reply to Re^2: Merging Two Strings
in thread Merging Two Strings

However that doesn't quite work with your third example. Lets try again:

You wish to concatenate two strings by overlaping the end of the first string and the start of the second string by the minimum distance that they match?

Perl is Huffman encoded by design.

Replies are listed 'Best First'.
Re^4: Merging Two Strings
by Skeeve (Parson) on Oct 27, 2005 at 08:03 UTC
    You wish to concatenate two strings by overlaping the end of the first string and the start of the second string by the minimum distance that they match?

    Hmmm... Too me it looks like: Match as much as possible but if there are more matches, take the 2nd best match.

    OTOH: This contradics Example 2.


    s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
    +.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e