nfc@scdZddlZddlZddlZddlTddlmZejdkr\dZndZdZe e e gZ e e eegZe eegZe eegZd Zdd Zd Zd Zd ZdZdZyeWn e k r"e!dfZ"nXe!de!edfZ"dZ#dZ$ddZ%dS(sInternal support module for sreiN(t*(t MAXREPEATiilcCs|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 | ||| ||| || s6      3 + 5  j