OwlCyberSecurity - MANAGER
Edit File: utils.pyc
� T��ac @ s� d d l Z d d l Z d d l m Z d d l m Z d d l m Z e j d e j � Z e j d � Z d � Z d � Z d � Z d d d d � Z d � Z e d d � � Z e d d � � Z d S( i����N( t deque( t contextmanager( t text_typesZ ( (?: # Start of non-capturing group (?:\r\n|\r|\n) | # Match any single newline, or [^\r\n'"]+ | # Match any character series without quotes or # newlines, or "(?:[^"\\]|\\.)*" | # Match double-quoted strings, or '(?:[^'\\]|\\.)*' # Match single quoted strings ) ) s (\r\n|\r|\n)c C st t | � } t j | � } d g } xI | D]A } | s= q+ q+ t j | � r\ | j d � q+ | d c | 7<q+ W| S( s� Split a string on all unquoted newlines. Unlike str.splitlines(), this will ignore CR/LF/CR+LF if the requisite character is inside of a string.t i����( R t SPLIT_REGEXt splitt LINE_MATCHt matcht append( t stmtt textt linest outputlinest line( ( sQ /opt/cpanel-ccs/.develop/virtualenv/lib/python2.7/site-packages/sqlparse/utils.pyt split_unquoted_newlines&