This looks like what Algorithm::Diff's LCS (longest common subsequence) does. It even has an optimized LCS_length().
- tye
In reply to Re: How to use regular expression for this? (LCS)
by tye
in thread How to use regular expression for this?
by davidz2f
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |