nfc@s~dZddlZddlZddlZddlTddlmZejeks_tdejdkrwdZ ndZ d Z e e e gZe eeegZe eegZe eegZd Zdd Zd Zd ZdZdZdZ ye!Wn e"k r=e#dfZ$nXe#de#e!dfZ$dZ%dZ&ddZ'dS(sInternal support module for sreiN(t*(t MAXREPEATsSRE module mismatchiilcCs|S(N((tx((s#/usr/lib64/python2.7/sre_compile.pyt_identityfunctionscCs|j}t}t}t}t}t}x|D]\} } | |kr|t@r{|tt| |t j | |q|t| || q.| t kr!|t@r|tt| |d} n|t| t } ||} |dt | ||| ||| || s8      3 + 5  j