Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Find substring based on words and not in charachters

by Corion (Patriarch)
on Dec 02, 2014 at 16:14 UTC ( [id://1108988]=note: print w/replies, xml ) Need Help??


in reply to Find substring based on words and not in charachters

You can feed Algorithm::Diff words instead of lines and it will return you the longest common subsequence through the LCS function.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1108988]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-04-25 20:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found