How do I ignore lines using difflib.ndiff?
<p>According to the documentation, you can provide a linejunk function to ignore certian lines.  However, I can't get it to work.  Here is some sample code for discussion:</p>

<pre><code>from re import search
from difflib import ndiff 
t1 = 'one 1\ntwo 2\nthree 3'
t2 = 'one 1\ntwo 29\nthree 3'
diff = ndiff(t1.splitlines(), t2.splitlines(), lambda x: search('2', x))
</code></pre>

<p>My intention is to ignore the second line and diff will be a generator that doesn't show any differences.</p>

<p>Thanks for the help.</p>
