News for hackers. Stuff that matters.
Re:Retiring a Great Interview Problem by pjscott on Monday August 08, 2011 @06:45PM (#2861871)
Let's try it:

    >>> re.compile('|'.join(open('/usr/share/dict/words').read().split()), re.I)
    OverflowError: regular expression code size limit exceeded
For smaller dicts, it should work fine, but it evidently doesn't do so well on larger ones.

There are no comments on this comment yet.