Retiring a Great Interview Problem
Only slightly joking:<p><pre><code>    re.findall("(your|dict|here)", "yourword")
</code></pre>
I like the idea of constructing a state machine to do all the matching.