ó Afc@sPddlZddlZddlZd„Zd„ZedkrLeƒndS(i˙˙˙˙NcCsĺtttjjƒƒ}ddj|ƒd}tj|ƒ}x tjdD]‘}yt |dƒ}Wn%t k rŒ}d||fGHqLnXd}xG|j ƒ}|sŹPn|d}|j |ƒr–d|||fGq–q–WqLWdS( Nt(t|t)itrs%s: %sis%s:%s:%s( tmaptchomptsyststdint readlinestjointretcompiletargvtopentIOErrortreadlinetsearch(tpatstbigpattprogtfiletfptmsgtlinenotline((s2/usr/lib64/python2.7/Demo/comparisons/regextest.pytmains"  cCs |jdƒS(Ns (trstrip(ts((s2/usr/lib64/python2.7/Demo/comparisons/regextest.pyR+st__main__(tstringRR RRt__name__(((s2/usr/lib64/python2.7/Demo/comparisons/regextest.pyts