PageRenderTime 21ms queryTime 166ms sortTime 47ms getByIdsTime 44ms findMatchingLines 35ms

100+ results results for 're.compile lang:python' (21 ms)

Not the results you expected?
newcron.py https://github.com/goldenboy/skiheilw2p.git | Python | 313 lines
                    
153            s = s.replace('*', '0-6', 1)
                    
154    m = re.compile(r'(\d+)-(\d+)/(\d+)')
                    
155    match = m.match(s)
                    
                
breakpad_transform_rules.py https://github.com/lauraxt/socorro.git | Python | 306 lines
                    
80        # and converts it to a Pythonic syntax for later use.
                    
81        strip_parens_re = re.compile(r'\$(\()(\w+)(\))')
                    
82        convert_to_python_substitution_format_re = re.compile(r'\$(\w+)')
                    
                
wsgi.py https://github.com/bninja/gunicorn.git | Python | 422 lines
                    
25
                    
26NORMALIZE_SPACE = re.compile(r'(?:\r\n)?[ \t]+')
                    
27
                    
                
flp.py https://bitbucket.org/__wp__/mb-linux-msli.git | Python | 451 lines
                    
271import re
                    
272prog = re.compile('^([^:]*): *(.*)')
                    
273
                    
                
scanner.py https://gitlab.com/dj-tech/fdroidserver | Python | 329 lines
                    
38
                    
39    return [re.compile(r'\s*' + c, re.IGNORECASE) for c in compileCommands]
                    
40
                    
49    usual_suspects = {
                    
50        exp: re.compile(r'.*' + exp, re.IGNORECASE) for exp in [
                    
51            r'flurryagent',
                    
73
                    
74    gradle_mavenrepo = re.compile(r'maven *{ *(url)? *[\'"]?([^ \'"]*)[\'"]?')
                    
75
                    
75
                    
76    allowed_repos = [re.compile(r'^https?://' + re.escape(repo) + r'/*') for repo in [
                    
77        'repo1.maven.org/maven2',  # mavenCentral()
                    
145    # False positives patterns for files that are binary and executable.
                    
146    safe_paths = [re.compile(r) for r in [
                    
147        r".*/drawable[^/]*/.*\.png$",  # png drawables
                    
                
_python_console.py https://github.com/AndreasEisele/wikitrans-pootle.git | Python | 368 lines
                    
33
                    
34        self.__spaces_pattern = re.compile(r'^\s+')
                    
35        self.namespace = namespace
                    
                
_python_console.py https://github.com/nrtest/wikitrans-pootle.git | Python | 368 lines
                    
33
                    
34        self.__spaces_pattern = re.compile(r'^\s+')
                    
35        self.namespace = namespace
                    
                
scanner.py https://gitlab.com/l666ljl/fdroidserver | Python | 329 lines
                    
38
                    
39    return [re.compile(r'\s*' + c, re.IGNORECASE) for c in compileCommands]
                    
40
                    
49    usual_suspects = {
                    
50        exp: re.compile(r'.*' + exp, re.IGNORECASE) for exp in [
                    
51            r'flurryagent',
                    
73
                    
74    gradle_mavenrepo = re.compile(r'maven *{ *(url)? *[\'"]?([^ \'"]*)[\'"]?')
                    
75
                    
75
                    
76    allowed_repos = [re.compile(r'^https?://' + re.escape(repo) + r'/*') for repo in [
                    
77        'repo1.maven.org/maven2',  # mavenCentral()
                    
145    # False positives patterns for files that are binary and executable.
                    
146    safe_paths = [re.compile(r) for r in [
                    
147        r".*/drawable[^/]*/.*\.png$",  # png drawables
                    
                
scanner.py https://gitlab.com/wrafal/fdroidserver | Python | 329 lines
                    
38
                    
39    return [re.compile(r'\s*' + c, re.IGNORECASE) for c in compileCommands]
                    
40
                    
49    usual_suspects = {
                    
50        exp: re.compile(r'.*' + exp, re.IGNORECASE) for exp in [
                    
51            r'flurryagent',
                    
73
                    
74    gradle_mavenrepo = re.compile(r'maven *{ *(url)? *[\'"]?([^ \'"]*)[\'"]?')
                    
75
                    
75
                    
76    allowed_repos = [re.compile(r'^https?://' + re.escape(repo) + r'/*') for repo in [
                    
77        'repo1.maven.org/maven2',  # mavenCentral()
                    
145    # False positives patterns for files that are binary and executable.
                    
146    safe_paths = [re.compile(r) for r in [
                    
147        r".*/drawable[^/]*/.*\.png$",  # png drawables
                    
                
controller.py https://gitlab.com/abhi1tb/build | Python | 376 lines
                    
17
                    
18URI = re.compile(r"^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?")
                    
19
                    
                
test_driver.py https://github.com/draco003/chromium.git | Python | 433 lines
                    
96# generated log files
                    
97_HEX_EXPRESSION = re.compile('0x[0-9ABCDEF]+')
                    
98
                    
212  # expression are then split on ','.
                    
213  quoted_column = re.compile('(\"[^\"]*\")')
                    
214  block_partitions = quoted_column.split(line)
                    
                
newcron.py https://github.com/wkyu/Dreamscape.git | Python | 315 lines
                    
153            s = s.replace('*', '0-6', 1)
                    
154    m = re.compile(r'(\d+)-(\d+)/(\d+)')
                    
155    match = m.match(s)
                    
                
decoder.py https://gitlab.com/pooja043/Globus_Docker_4 | Python | 400 lines
                    
40
                    
41STRINGCHUNK = re.compile(r'(.*?)(["\\\x00-\x1f])', FLAGS)
                    
42BACKSLASH = {
                    
138
                    
139WHITESPACE = re.compile(r'[ \t\n\r]*', FLAGS)
                    
140WHITESPACE_STR = ' \t\n\r'
                    
                
decoder.py https://gitlab.com/pooja043/Globus_Docker_4 | Python | 400 lines
                    
40
                    
41STRINGCHUNK = re.compile(r'(.*?)(["\\\x00-\x1f])', FLAGS)
                    
42BACKSLASH = {
                    
138
                    
139WHITESPACE = re.compile(r'[ \t\n\r]*', FLAGS)
                    
140WHITESPACE_STR = ' \t\n\r'
                    
                
decoder.py https://gitlab.com/pooja043/Globus_Docker_4 | Python | 400 lines
                    
40
                    
41STRINGCHUNK = re.compile(r'(.*?)(["\\\x00-\x1f])', FLAGS)
                    
42BACKSLASH = {
                    
138
                    
139WHITESPACE = re.compile(r'[ \t\n\r]*', FLAGS)
                    
140WHITESPACE_STR = ' \t\n\r'
                    
                
decoder.py https://gitlab.com/pooja043/Globus_Docker_4 | Python | 400 lines
                    
40
                    
41STRINGCHUNK = re.compile(r'(.*?)(["\\\x00-\x1f])', FLAGS)
                    
42BACKSLASH = {
                    
138
                    
139WHITESPACE = re.compile(r'[ \t\n\r]*', FLAGS)
                    
140WHITESPACE_STR = ' \t\n\r'
                    
                
decoder.py https://gitlab.com/pooja043/Globus_Docker_4 | Python | 400 lines
                    
40
                    
41STRINGCHUNK = re.compile(r'(.*?)(["\\\x00-\x1f])', FLAGS)
                    
42BACKSLASH = {
                    
138
                    
139WHITESPACE = re.compile(r'[ \t\n\r]*', FLAGS)
                    
140WHITESPACE_STR = ' \t\n\r'
                    
                
decoder.py https://gitlab.com/pooja043/Globus_Docker_3 | Python | 400 lines
                    
40
                    
41STRINGCHUNK = re.compile(r'(.*?)(["\\\x00-\x1f])', FLAGS)
                    
42BACKSLASH = {
                    
138
                    
139WHITESPACE = re.compile(r'[ \t\n\r]*', FLAGS)
                    
140WHITESPACE_STR = ' \t\n\r'
                    
                
decoder.py https://gitlab.com/pooja043/Globus_Docker_3 | Python | 400 lines
                    
40
                    
41STRINGCHUNK = re.compile(r'(.*?)(["\\\x00-\x1f])', FLAGS)
                    
42BACKSLASH = {
                    
138
                    
139WHITESPACE = re.compile(r'[ \t\n\r]*', FLAGS)
                    
140WHITESPACE_STR = ' \t\n\r'
                    
                
decoder.py https://gitlab.com/pooja043/Globus_Docker_3 | Python | 400 lines
                    
40
                    
41STRINGCHUNK = re.compile(r'(.*?)(["\\\x00-\x1f])', FLAGS)
                    
42BACKSLASH = {
                    
138
                    
139WHITESPACE = re.compile(r'[ \t\n\r]*', FLAGS)
                    
140WHITESPACE_STR = ' \t\n\r'
                    
                
decoder.py https://gitlab.com/pooja043/Globus_Docker_3 | Python | 400 lines
                    
40
                    
41STRINGCHUNK = re.compile(r'(.*?)(["\\\x00-\x1f])', FLAGS)
                    
42BACKSLASH = {
                    
138
                    
139WHITESPACE = re.compile(r'[ \t\n\r]*', FLAGS)
                    
140WHITESPACE_STR = ' \t\n\r'
                    
                
decoder.py https://gitlab.com/pooja043/Globus_Docker_3 | Python | 400 lines
                    
40
                    
41STRINGCHUNK = re.compile(r'(.*?)(["\\\x00-\x1f])', FLAGS)
                    
42BACKSLASH = {
                    
138
                    
139WHITESPACE = re.compile(r'[ \t\n\r]*', FLAGS)
                    
140WHITESPACE_STR = ' \t\n\r'
                    
                
decoder.py https://gitlab.com/pooja043/Globus_Docker_3 | Python | 400 lines
                    
40
                    
41STRINGCHUNK = re.compile(r'(.*?)(["\\\x00-\x1f])', FLAGS)
                    
42BACKSLASH = {
                    
138
                    
139WHITESPACE = re.compile(r'[ \t\n\r]*', FLAGS)
                    
140WHITESPACE_STR = ' \t\n\r'
                    
                
decoder.py https://gitlab.com/pooja043/Globus_Docker_3 | Python | 400 lines
                    
40
                    
41STRINGCHUNK = re.compile(r'(.*?)(["\\\x00-\x1f])', FLAGS)
                    
42BACKSLASH = {
                    
138
                    
139WHITESPACE = re.compile(r'[ \t\n\r]*', FLAGS)
                    
140WHITESPACE_STR = ' \t\n\r'
                    
                
decoder.py https://gitlab.com/pooja043/Globus_Docker_3 | Python | 400 lines
                    
40
                    
41STRINGCHUNK = re.compile(r'(.*?)(["\\\x00-\x1f])', FLAGS)
                    
42BACKSLASH = {
                    
138
                    
139WHITESPACE = re.compile(r'[ \t\n\r]*', FLAGS)
                    
140WHITESPACE_STR = ' \t\n\r'
                    
                
decoder.py https://gitlab.com/pooja043/Globus_Docker_2 | Python | 400 lines
                    
40
                    
41STRINGCHUNK = re.compile(r'(.*?)(["\\\x00-\x1f])', FLAGS)
                    
42BACKSLASH = {
                    
138
                    
139WHITESPACE = re.compile(r'[ \t\n\r]*', FLAGS)
                    
140WHITESPACE_STR = ' \t\n\r'
                    
                
decoder.py https://gitlab.com/pooja043/Globus_Docker_2 | Python | 400 lines
                    
40
                    
41STRINGCHUNK = re.compile(r'(.*?)(["\\\x00-\x1f])', FLAGS)
                    
42BACKSLASH = {
                    
138
                    
139WHITESPACE = re.compile(r'[ \t\n\r]*', FLAGS)
                    
140WHITESPACE_STR = ' \t\n\r'
                    
                
decoder.py https://gitlab.com/pooja043/Globus_Docker_2 | Python | 400 lines
                    
40
                    
41STRINGCHUNK = re.compile(r'(.*?)(["\\\x00-\x1f])', FLAGS)
                    
42BACKSLASH = {
                    
138
                    
139WHITESPACE = re.compile(r'[ \t\n\r]*', FLAGS)
                    
140WHITESPACE_STR = ' \t\n\r'
                    
                
decoder.py https://gitlab.com/pooja043/Globus_Docker_2 | Python | 400 lines
                    
40
                    
41STRINGCHUNK = re.compile(r'(.*?)(["\\\x00-\x1f])', FLAGS)
                    
42BACKSLASH = {
                    
138
                    
139WHITESPACE = re.compile(r'[ \t\n\r]*', FLAGS)
                    
140WHITESPACE_STR = ' \t\n\r'
                    
                
decoder.py https://gitlab.com/pooja043/Globus_Docker_2 | Python | 400 lines
                    
40
                    
41STRINGCHUNK = re.compile(r'(.*?)(["\\\x00-\x1f])', FLAGS)
                    
42BACKSLASH = {
                    
138
                    
139WHITESPACE = re.compile(r'[ \t\n\r]*', FLAGS)
                    
140WHITESPACE_STR = ' \t\n\r'
                    
                
decoder.py https://gitlab.com/pooja043/Globus_Docker_1 | Python | 400 lines
                    
40
                    
41STRINGCHUNK = re.compile(r'(.*?)(["\\\x00-\x1f])', FLAGS)
                    
42BACKSLASH = {
                    
138
                    
139WHITESPACE = re.compile(r'[ \t\n\r]*', FLAGS)
                    
140WHITESPACE_STR = ' \t\n\r'
                    
                
decoder.py https://gitlab.com/pooja043/Globus_Docker_1 | Python | 400 lines
                    
40
                    
41STRINGCHUNK = re.compile(r'(.*?)(["\\\x00-\x1f])', FLAGS)
                    
42BACKSLASH = {
                    
138
                    
139WHITESPACE = re.compile(r'[ \t\n\r]*', FLAGS)
                    
140WHITESPACE_STR = ' \t\n\r'
                    
                
decoder.py https://gitlab.com/pooja043/Globus_Docker_1 | Python | 400 lines
                    
40
                    
41STRINGCHUNK = re.compile(r'(.*?)(["\\\x00-\x1f])', FLAGS)
                    
42BACKSLASH = {
                    
138
                    
139WHITESPACE = re.compile(r'[ \t\n\r]*', FLAGS)
                    
140WHITESPACE_STR = ' \t\n\r'
                    
                
decoder.py https://gitlab.com/pooja043/Globus_Docker_1 | Python | 400 lines
                    
40
                    
41STRINGCHUNK = re.compile(r'(.*?)(["\\\x00-\x1f])', FLAGS)
                    
42BACKSLASH = {
                    
138
                    
139WHITESPACE = re.compile(r'[ \t\n\r]*', FLAGS)
                    
140WHITESPACE_STR = ' \t\n\r'
                    
                
decoder.py https://gitlab.com/pooja043/Globus_Docker_1 | Python | 400 lines
                    
40
                    
41STRINGCHUNK = re.compile(r'(.*?)(["\\\x00-\x1f])', FLAGS)
                    
42BACKSLASH = {
                    
138
                    
139WHITESPACE = re.compile(r'[ \t\n\r]*', FLAGS)
                    
140WHITESPACE_STR = ' \t\n\r'
                    
                
decoder.py https://gitlab.com/pooja043/Globus_Docker | Python | 400 lines
                    
40
                    
41STRINGCHUNK = re.compile(r'(.*?)(["\\\x00-\x1f])', FLAGS)
                    
42BACKSLASH = {
                    
138
                    
139WHITESPACE = re.compile(r'[ \t\n\r]*', FLAGS)
                    
140WHITESPACE_STR = ' \t\n\r'
                    
                
decoder.py https://gitlab.com/pooja043/Globus_Docker | Python | 400 lines
                    
40
                    
41STRINGCHUNK = re.compile(r'(.*?)(["\\\x00-\x1f])', FLAGS)
                    
42BACKSLASH = {
                    
138
                    
139WHITESPACE = re.compile(r'[ \t\n\r]*', FLAGS)
                    
140WHITESPACE_STR = ' \t\n\r'
                    
                
pass_phrase.py https://github.com/aaronbassett/Pass-phrase.git | Python | 419 lines
                    
172
                    
173    regexp = re.compile("^%s{%i,%i}$" % (valid_chars, min_length, max_length))
                    
174
                    
                
default.py https://github.com/adrianpike/wwscc.git | Python | 375 lines
                    
19
                    
20AUTOCOMMIT_REGEXP = re.compile(r'\s*(?:UPDATE|INSERT|CREATE|DELETE|DROP|ALTER)',
                    
21                               re.I | re.UNICODE)
                    
                
linux.py https://github.com/oliver/jhbuild.git | Python | 290 lines
                    
279    # Make some substitutions; do special handling of '${prefix}' and '${libdir}'
                    
280    p = re.compile('(\${prefix})')
                    
281    makeargs = p.sub(config.prefix, makeargs)
                    
                
add_shot.py https://bitbucket.org/bfloch/epp.git | Python | 381 lines
                    
135        # BUG? X:dir\dir instead of X:\dir\dir
                    
136        pa_frontslash = re.compile(r"(\w:)([^\\].*)$")
                    
137        self.GENFILEPATH = pa_frontslash.subn(r'\1\\\2', self.GENFILEPATH)[0]
                    
                
vboxmanage.py https://gitlab.com/ricardo.hernandez/salt | Python | 508 lines
                    
31
                    
32UUID_RE = re.compile('[^{0}]'.format('a-zA-Z0-9._-'))
                    
33NAME_RE = re.compile('[^{0}]'.format('a-zA-Z0-9._-'))
                    
                
cache.py https://gitlab.com/themill/ftrack-python-api | Python | 579 lines
                    
97        if pattern is not None:
                    
98            pattern = re.compile(pattern)
                    
99
                    
                
bpsmeter.py https://github.com/janschejbal/sabnzbd.git | Python | 369 lines
                    
337    # The <day> and <hh:mm> part can both be optional
                    
338    __re_day = re.compile('^\s*(\d+)[^:]*')
                    
339    __re_hm = re.compile('(\d+):(\d+)\s*$')
                    
                
scanner.py https://gitlab.com/dhalisa36/fdroidserver | Python | 329 lines
                    
38
                    
39    return [re.compile(r'\s*' + c, re.IGNORECASE) for c in compileCommands]
                    
40
                    
49    usual_suspects = {
                    
50        exp: re.compile(r'.*' + exp, re.IGNORECASE) for exp in [
                    
51            r'flurryagent',
                    
73
                    
74    gradle_mavenrepo = re.compile(r'maven *{ *(url)? *[\'"]?([^ \'"]*)[\'"]?')
                    
75
                    
75
                    
76    allowed_repos = [re.compile(r'^https?://' + re.escape(repo) + r'/*') for repo in [
                    
77        'repo1.maven.org/maven2',  # mavenCentral()
                    
145    # False positives patterns for files that are binary and executable.
                    
146    safe_paths = [re.compile(r) for r in [
                    
147        r".*/drawable[^/]*/.*\.png$",  # png drawables
                    
                
test_driver.py https://github.com/akesling/chromium.git | Python | 433 lines
                    
96# generated log files
                    
97_HEX_EXPRESSION = re.compile('0x[0-9ABCDEF]+')
                    
98
                    
212  # expression are then split on ','.
                    
213  quoted_column = re.compile('(\"[^\"]*\")')
                    
214  block_partitions = quoted_column.split(line)
                    
                
assetcache.py https://github.com/etianen/django-optimizations.git | Python | 430 lines
                    
211            def do_load(type, include=(), exclude=()):
                    
212                include = [re.compile(fnmatch.translate(pattern)) for pattern in include]
                    
213                exclude = [re.compile(fnmatch.translate(pattern)) for pattern in exclude]
                    
                
Net.py https://github.com/mobyle2-legacy/mobyle2.core.git | Python | 353 lines
                    
46    pattern = "^(%s)$" % pattern
                    
47    auto = re.compile( pattern )
                    
48
                    
120    def _checkSyntax( self , addr ):
                    
121        email_pat = re.compile( "^[a-z0-9\-\.+_]+\@([a-z0-9\-]+\.)+([a-z]){2,4}$" , re.IGNORECASE )
                    
122        match = re.match( email_pat , addr )
                    
                
controller.py https://gitlab.com/phongphans61/machine-learning-tictactoe | Python | 376 lines
                    
17
                    
18URI = re.compile(r"^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?")
                    
19
                    
                
check-c-globals.py https://github.com/albertz/CPython.git | Python | 446 lines
                    
19
                    
20CAPI_REGEX = re.compile(r'^ *PyAPI_DATA\([^)]*\) \W*(_?Py\w+(?:, \w+)*\w).*;.*$')
                    
21
                    
                
sre_compile.py https://github.com/DarioGT/OMS-PluginXML.git | Python | 455 lines
                    
450
                    
451    return _sre.compile(
                    
452        pattern, flags, code,
                    
                
decoder.py https://gitlab.com/gregtyka/server | Python | 400 lines
                    
40
                    
41STRINGCHUNK = re.compile(r'(.*?)(["\\\x00-\x1f])', FLAGS)
                    
42BACKSLASH = {
                    
138
                    
139WHITESPACE = re.compile(r'[ \t\n\r]*', FLAGS)
                    
140WHITESPACE_STR = ' \t\n\r'
                    
                
docscrape.py https://github.com/Hiccup/nipy.git | Python | 492 lines
                    
186    
                    
187    _name_rgx = re.compile(r"^\s*(:(?P<role>\w+):`(?P<name>[a-zA-Z0-9_.-]+)`|"
                    
188                           r" (?P<name2>[a-zA-Z0-9_.-]+))\s*", re.X)
                    
268        summary_str = " ".join([s.strip() for s in summary]).strip()
                    
269        if re.compile('^([\w., ]+=)?\s*[\w\.]+\(.*\)$').match(summary_str):
                    
270            self['Signature'] = summary_str
                    
                
docscrape.py https://github.com/pberkes/joblib.git | Python | 492 lines
                    
186    
                    
187    _name_rgx = re.compile(r"^\s*(:(?P<role>\w+):`(?P<name>[a-zA-Z0-9_.-]+)`|"
                    
188                           r" (?P<name2>[a-zA-Z0-9_.-]+))\s*", re.X)
                    
268        summary_str = " ".join([s.strip() for s in summary]).strip()
                    
269        if re.compile('^([\w., ]+=)?\s*[\w\.]+\(.*\)$').match(summary_str):
                    
270            self['Signature'] = summary_str
                    
                
docscrape.py https://github.com/deech/pyxnat-1.git | Python | 492 lines
                    
186    
                    
187    _name_rgx = re.compile(r"^\s*(:(?P<role>\w+):`(?P<name>[a-zA-Z0-9_.-]+)`|"
                    
188                           r" (?P<name2>[a-zA-Z0-9_.-]+))\s*", re.X)
                    
268        summary_str = " ".join([s.strip() for s in summary]).strip()
                    
269        if re.compile('^([\w., ]+=)?\s*[\w\.]+\(.*\)$').match(summary_str):
                    
270            self['Signature'] = summary_str
                    
                
controller.py https://gitlab.com/Alioth-Project/clang-r445002 | Python | 376 lines
                    
17
                    
18URI = re.compile(r"^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?")
                    
19
                    
                
utils.py https://github.com/nightmark/infinispan.git | Python | 414 lines
                    
184  """Retrieves a search path based on where the current executable is located.  Returns a string to be prepended to add"""
                    
185  in_bin_dir = re.compile('^.*/?bin/.*.py')
                    
186  if in_bin_dir.search(executable):
                    
394def get_version_pattern(): 
                    
395  return re.compile("^([4-9]\.[0-9])\.[0-9]\.(Final|(ALPHA|BETA|CR)[1-9][0-9]?)$", re.IGNORECASE)
                    
396
                    
402def assert_python_minimum_version(major, minor):
                    
403  e = re.compile('([0-9])\.([0-9])\.([0-9]).*')
                    
404  m = e.match(sys.version)
                    
                
LoadNMoldyn4Ascii.py https://github.com/wdzhou/mantid.git | Python | 309 lines
                    
16
                    
17VARIABLE_REGEX = re.compile(r'#\s+variable name:\s+(.*)')
                    
18TYPE_REGEX = re.compile(r'#\s+type:\s+([A-z]+)')
                    
18TYPE_REGEX = re.compile(r'#\s+type:\s+([A-z]+)')
                    
19AXIS_REGEX = re.compile(r'#\s+axis:\s+([A-z]+)\|([A-z]+)')
                    
20UNIT_REGEX = re.compile(r'#\s+units:\s+(.*)')
                    
21
                    
22SLICE_1D_HEADER_REGEX = re.compile(r'#slice:\[([0-9]+)[A-z]*\]')
                    
23SLICE_2D_HEADER_REGEX = re.compile(r'#slice:\[([0-9]+)[A-z]*,\s+([0-9]+)[A-z]*\]')
                    
                
debugger.py https://github.com/KDAB/KDAB-Creator.git | Python | 224 lines
                    
45        waitForObjectItem(navTree, treeElement)
                    
46        fileNamePattern = re.compile(".*\.(?P<file>(.*\\\..*)?)$")
                    
47        fileName = fileNamePattern.search(treeElement).group("file").replace("\\.", ".")
                    
                
win_tool.py https://gitlab.com/boxnia/NFU_MOVIL | Python | 314 lines
                    
23# link.exe.
                    
24_LINK_EXE_OUT_ARG = re.compile('/OUT:(?P<out>.+)$', re.IGNORECASE)
                    
25
                    
                
aresource.py https://bitbucket.org/bootz/weblate.git | Python | 326 lines
                    
32WHITESPACE = ' \n\t' # Whitespace that we collapse
                    
33MULTIWHITESPACE = re.compile('[ \n\t]{2}')
                    
34
                    
                
win_tool.py https://gitlab.com/blocknotary/IonicInterviews | Python | 314 lines
                    
23# link.exe.
                    
24_LINK_EXE_OUT_ARG = re.compile('/OUT:(?P<out>.+)$', re.IGNORECASE)
                    
25
                    
                
docscrape.py https://github.com/ronnix/scikit-learn.git | Python | 492 lines
                    
186    
                    
187    _name_rgx = re.compile(r"^\s*(:(?P<role>\w+):`(?P<name>[a-zA-Z0-9_.-]+)`|"
                    
188                           r" (?P<name2>[a-zA-Z0-9_.-]+))\s*", re.X)
                    
268        summary_str = " ".join([s.strip() for s in summary]).strip()
                    
269        if re.compile('^([\w., ]+=)?\s*[\w\.]+\(.*\)$').match(summary_str):
                    
270            self['Signature'] = summary_str
                    
                
cmd_line.py https://bitbucket.org/rafaelmoreira/sublime-text.git | Python | 340 lines
                    
145        sign = 1
                    
146        is_num_or_sign = re.compile('^[0-9+-]')
                    
147        while self.c != EOF and is_num_or_sign.match(self.c):
                    
177        rv = ''
                    
178        r = re.compile(regex)
                    
179        while self.c != EOF and r.match(self.c):
                    
299        sign = 1
                    
300        is_num_or_sign = re.compile('^[0-9+-]')
                    
301        while self.c != EOF and is_num_or_sign.match(self.c):
                    
328        rv = ''
                    
329        r = re.compile(regex)
                    
330        while self.c != EOF and r.match(self.c):
                    
                
SOAPService.py https://github.com/esmanhotto/emesene.git | Python | 312 lines
                    
53def compress_xml(xml_string):
                    
54    space_regex = [(re.compile('>\s+<'), '><'),
                    
55        (re.compile('>\s+'), '>'),
                    
55        (re.compile('>\s+'), '>'),
                    
56        (re.compile('\s+<'), '<')]
                    
57
                    
165        # Regex to find password
                    
166        self.password_regex = re.compile("<wsse:Password>.*?</wsse:Password>", re.S)
                    
167
                    
                
DSSP.py https://gitlab.com/pooja043/Globus_Docker_4 | Python | 346 lines
                    
38# Match C in DSSP
                    
39_dssp_cys=re.compile('[a-z]')
                    
40
                    
                
DSSP.py https://gitlab.com/pooja043/Globus_Docker_4 | Python | 346 lines
                    
38# Match C in DSSP
                    
39_dssp_cys=re.compile('[a-z]')
                    
40
                    
                
DSSP.py https://gitlab.com/pooja043/Globus_Docker_4 | Python | 346 lines
                    
38# Match C in DSSP
                    
39_dssp_cys=re.compile('[a-z]')
                    
40
                    
                
DSSP.py https://gitlab.com/pooja043/Globus_Docker_4 | Python | 346 lines
                    
38# Match C in DSSP
                    
39_dssp_cys=re.compile('[a-z]')
                    
40
                    
                
DSSP.py https://gitlab.com/pooja043/Globus_Docker_4 | Python | 346 lines
                    
38# Match C in DSSP
                    
39_dssp_cys=re.compile('[a-z]')
                    
40
                    
                
DSSP.py https://gitlab.com/pooja043/Globus_Docker_4 | Python | 346 lines
                    
38# Match C in DSSP
                    
39_dssp_cys=re.compile('[a-z]')
                    
40
                    
                
DSSP.py https://gitlab.com/pooja043/Globus_Docker_3 | Python | 346 lines
                    
38# Match C in DSSP
                    
39_dssp_cys=re.compile('[a-z]')
                    
40
                    
                
DSSP.py https://gitlab.com/pooja043/Globus_Docker_3 | Python | 346 lines
                    
38# Match C in DSSP
                    
39_dssp_cys=re.compile('[a-z]')
                    
40
                    
                
DSSP.py https://gitlab.com/pooja043/Globus_Docker_3 | Python | 346 lines
                    
38# Match C in DSSP
                    
39_dssp_cys=re.compile('[a-z]')
                    
40
                    
                
DSSP.py https://gitlab.com/pooja043/Globus_Docker_3 | Python | 346 lines
                    
38# Match C in DSSP
                    
39_dssp_cys=re.compile('[a-z]')
                    
40
                    
                
DSSP.py https://gitlab.com/pooja043/Globus_Docker_3 | Python | 346 lines
                    
38# Match C in DSSP
                    
39_dssp_cys=re.compile('[a-z]')
                    
40
                    
                
DSSP.py https://gitlab.com/pooja043/Globus_Docker_3 | Python | 346 lines
                    
38# Match C in DSSP
                    
39_dssp_cys=re.compile('[a-z]')
                    
40
                    
                
DSSP.py https://gitlab.com/pooja043/Globus_Docker_3 | Python | 346 lines
                    
38# Match C in DSSP
                    
39_dssp_cys=re.compile('[a-z]')
                    
40
                    
                
DSSP.py https://gitlab.com/pooja043/Globus_Docker_2 | Python | 346 lines
                    
38# Match C in DSSP
                    
39_dssp_cys=re.compile('[a-z]')
                    
40
                    
                
DSSP.py https://gitlab.com/pooja043/Globus_Docker_2 | Python | 346 lines
                    
38# Match C in DSSP
                    
39_dssp_cys=re.compile('[a-z]')
                    
40
                    
                
DSSP.py https://gitlab.com/pooja043/Globus_Docker_2 | Python | 346 lines
                    
38# Match C in DSSP
                    
39_dssp_cys=re.compile('[a-z]')
                    
40
                    
                
DSSP.py https://gitlab.com/pooja043/Globus_Docker_2 | Python | 346 lines
                    
38# Match C in DSSP
                    
39_dssp_cys=re.compile('[a-z]')
                    
40
                    
                
DSSP.py https://gitlab.com/pooja043/Globus_Docker_2 | Python | 346 lines
                    
38# Match C in DSSP
                    
39_dssp_cys=re.compile('[a-z]')
                    
40
                    
                
DSSP.py https://gitlab.com/pooja043/Globus_Docker_1 | Python | 346 lines
                    
38# Match C in DSSP
                    
39_dssp_cys=re.compile('[a-z]')
                    
40
                    
                
DSSP.py https://gitlab.com/pooja043/Globus_Docker_1 | Python | 346 lines
                    
38# Match C in DSSP
                    
39_dssp_cys=re.compile('[a-z]')
                    
40
                    
                
DSSP.py https://gitlab.com/pooja043/Globus_Docker_1 | Python | 346 lines
                    
38# Match C in DSSP
                    
39_dssp_cys=re.compile('[a-z]')
                    
40
                    
                
DSSP.py https://gitlab.com/pooja043/Globus_Docker_1 | Python | 346 lines
                    
38# Match C in DSSP
                    
39_dssp_cys=re.compile('[a-z]')
                    
40
                    
                
DSSP.py https://gitlab.com/pooja043/Globus_Docker_1 | Python | 346 lines
                    
38# Match C in DSSP
                    
39_dssp_cys=re.compile('[a-z]')
                    
40
                    
                
DSSP.py https://gitlab.com/pooja043/Globus_Docker | Python | 346 lines
                    
38# Match C in DSSP
                    
39_dssp_cys=re.compile('[a-z]')
                    
40
                    
                
DSSP.py https://gitlab.com/pooja043/Globus_Docker | Python | 346 lines
                    
38# Match C in DSSP
                    
39_dssp_cys=re.compile('[a-z]')
                    
40
                    
                
HTMLParser.py https://github.com/atoun/jsrepl.git | Python | 393 lines
                    
15
                    
16interesting_normal = re.compile('[&<]')
                    
17interesting_cdata = re.compile(r'<(/|\Z)')
                    
17interesting_cdata = re.compile(r'<(/|\Z)')
                    
18incomplete = re.compile('&[a-zA-Z#]')
                    
19
                    
19
                    
20entityref = re.compile('&([a-zA-Z][-.a-zA-Z0-9]*)[^a-zA-Z0-9]')
                    
21charref = re.compile('&#(?:[0-9]+|[xX][0-9a-fA-F]+)[^0-9a-fA-F]')
                    
22
                    
23starttagopen = re.compile('<[a-zA-Z]')
                    
24piclose = re.compile('>')
                    
24piclose = re.compile('>')
                    
25commentclose = re.compile(r'--\s*>')
                    
26tagfind = re.compile('[a-zA-Z][-.a-zA-Z0-9:_]*')
                    
                
HTMLParser.py https://github.com/atoun/jsrepl.git | Python | 393 lines
                    
15
                    
16interesting_normal = re.compile('[&<]')
                    
17interesting_cdata = re.compile(r'<(/|\Z)')
                    
17interesting_cdata = re.compile(r'<(/|\Z)')
                    
18incomplete = re.compile('&[a-zA-Z#]')
                    
19
                    
19
                    
20entityref = re.compile('&([a-zA-Z][-.a-zA-Z0-9]*)[^a-zA-Z0-9]')
                    
21charref = re.compile('&#(?:[0-9]+|[xX][0-9a-fA-F]+)[^0-9a-fA-F]')
                    
22
                    
23starttagopen = re.compile('<[a-zA-Z]')
                    
24piclose = re.compile('>')
                    
24piclose = re.compile('>')
                    
25commentclose = re.compile(r'--\s*>')
                    
26tagfind = re.compile('[a-zA-Z][-.a-zA-Z0-9:_]*')
                    
                
HTMLParser.py https://github.com/atoun/jsrepl.git | Python | 393 lines
                    
15
                    
16interesting_normal = re.compile('[&<]')
                    
17interesting_cdata = re.compile(r'<(/|\Z)')
                    
17interesting_cdata = re.compile(r'<(/|\Z)')
                    
18incomplete = re.compile('&[a-zA-Z#]')
                    
19
                    
19
                    
20entityref = re.compile('&([a-zA-Z][-.a-zA-Z0-9]*)[^a-zA-Z0-9]')
                    
21charref = re.compile('&#(?:[0-9]+|[xX][0-9a-fA-F]+)[^0-9a-fA-F]')
                    
22
                    
23starttagopen = re.compile('<[a-zA-Z]')
                    
24piclose = re.compile('>')
                    
24piclose = re.compile('>')
                    
25commentclose = re.compile(r'--\s*>')
                    
26tagfind = re.compile('[a-zA-Z][-.a-zA-Z0-9:_]*')
                    
                
test_filelist.py https://github.com/albertz/CPython.git | Python | 340 lines
                    
139        # is a regex
                    
140        regex = re.compile('a')
                    
141        self.assertEqual(
                    
                
_fortran.py https://github.com/matthew-brett/scipy.git | Python | 444 lines
                    
86def uses_mkl(info):
                    
87    r_mkl = re.compile("mkl")
                    
88    libraries = info.get('libraries', '')
                    
                
SOAPService.py https://github.com/RazvanB/emesene.git | Python | 312 lines
                    
53def compress_xml(xml_string):
                    
54    space_regex = [(re.compile('>\s+<'), '><'),
                    
55        (re.compile('>\s+'), '>'),
                    
55        (re.compile('>\s+'), '>'),
                    
56        (re.compile('\s+<'), '<')]
                    
57
                    
165        # Regex to find password
                    
166        self.password_regex = re.compile("<wsse:Password>.*?</wsse:Password>", re.S)
                    
167
                    
                
docscrape.py https://github.com/kurtosis/scikit-learn.git | Python | 492 lines
                    
186    
                    
187    _name_rgx = re.compile(r"^\s*(:(?P<role>\w+):`(?P<name>[a-zA-Z0-9_.-]+)`|"
                    
188                           r" (?P<name2>[a-zA-Z0-9_.-]+))\s*", re.X)
                    
268        summary_str = " ".join([s.strip() for s in summary]).strip()
                    
269        if re.compile('^([\w., ]+=)?\s*[\w\.]+\(.*\)$').match(summary_str):
                    
270            self['Signature'] = summary_str
                    
                
csrf.py https://github.com/lmorchard/home-snippets-server-lib.git | Python | 294 lines
                    
18_POST_FORM_RE = \
                    
19    re.compile(r'(<form\W[^>]*\bmethod\s*=\s*(\'|"|)POST(\'|"|)\b[^>]*>)', re.IGNORECASE)
                    
20
                    
                
test_driver.py https://github.com/nachoalthabe/chromium.git | Python | 433 lines
                    
96# generated log files
                    
97_HEX_EXPRESSION = re.compile('0x[0-9ABCDEF]+')
                    
98
                    
212  # expression are then split on ','.
                    
213  quoted_column = re.compile('(\"[^\"]*\")')
                    
214  block_partitions = quoted_column.split(line)
                    
                
flp.py https://github.com/labx-technologies-llc/mb-linux-labx.git | Python | 451 lines
                    
271import re
                    
272prog = re.compile('^([^:]*): *(.*)')
                    
273
                    
                
quoprimime.py https://github.com/atoun/jsrepl.git | Python | 336 lines
                    
56
                    
57hqre = re.compile(r'[^-a-zA-Z0-9!*+/ ]')
                    
58bqre = re.compile(r'[^ !-<>-~\t]')
                    
                
quoprimime.py https://github.com/atoun/jsrepl.git | Python | 336 lines
                    
56
                    
57hqre = re.compile(r'[^-a-zA-Z0-9!*+/ ]')
                    
58bqre = re.compile(r'[^ !-<>-~\t]')
                    
                
quoprimime.py https://github.com/atoun/jsrepl.git | Python | 336 lines
                    
56
                    
57hqre = re.compile(r'[^-a-zA-Z0-9!*+/ ]')
                    
58bqre = re.compile(r'[^ !-<>-~\t]')
                    
                
encoder.py https://github.com/ChuguluGames/mediawiki-svn.git | Python | 371 lines
                    
9
                    
10ESCAPE = re.compile(r'[\x00-\x19\\"\b\f\n\r\t]')
                    
11ESCAPE_ASCII = re.compile(r'([\\"/]|[^\ -~])')
                    
                
operations.py https://github.com/postmates/django.git | Python | 342 lines
                    
37    "For SpatiaLite Relate(<geom>, <pattern>) calls."
                    
38    pattern_regex = re.compile(r'^[012TF\*]{9}$')
                    
39    def __init__(self, pattern):
                    
53    spatialite = True
                    
54    version_regex = re.compile(r'^(?P<major>\d)\.(?P<minor1>\d)\.(?P<minor2>\d+)')
                    
55    valid_aggregates = dict([(k, None) for k in ('Extent', 'Union')])
                    
                
etree.py https://gitlab.com/phongphans61/machine-learning-tictactoe | Python | 343 lines
                    
15
                    
16tag_regexp = re.compile("{([^}]*)}(.*)")
                    
17
                    
                
docscrape.py https://github.com/nipy/PyLocator.git | Python | 492 lines
                    
186    
                    
187    _name_rgx = re.compile(r"^\s*(:(?P<role>\w+):`(?P<name>[a-zA-Z0-9_.-]+)`|"
                    
188                           r" (?P<name2>[a-zA-Z0-9_.-]+))\s*", re.X)
                    
268        summary_str = " ".join([s.strip() for s in summary]).strip()
                    
269        if re.compile('^([\w., ]+=)?\s*[\w\.]+\(.*\)$').match(summary_str):
                    
270            self['Signature'] = summary_str
                    
                
Checker.py https://gitlab.com/t0b3/m2crypto | Python | 297 lines
                    
66
                    
67    numericIpMatch = re.compile('^[0-9]+(\.[0-9]+)*$')
                    
68
                    
258        certHost = certHost.replace('*', '[^\.]*')
                    
259        if re.compile('^%s$' % (certHost)).match(host):
                    
260            return True
                    
                
toc.py https://gitlab.com/Haritiana/Python-Markdown | Python | 310 lines
                    
31
                    
32IDCOUNT_RE = re.compile(r'^(.*)_([0-9]+)$')
                    
33
                    
139
                    
140        self.header_rgx = re.compile("[Hh][123456]")
                    
141
                    
                
latex_cite_completions.py https://github.com/dozed/LaTeXTools.git | Python | 341 lines
                    
54        # NOTE2: restrict what to match for fancy cite
                    
55        rex = re.compile("([^_]*_)?([a-zX]*?)etic")
                    
56        expr = match(rex, line)
                    
114        print bib_files
                    
115        # bibp = re.compile(r'\{(.+)') # we dropped last , or } so don't look for it
                    
116        # bibmatch = bibp.search(bibcmd)
                    
123        completions = []
                    
124        kp = re.compile(r'@[^\{]+\{(.+),')
                    
125        # new and improved regex
                    
130        # and in the end we MAY but need not have }'s and "s
                    
131        tp = re.compile(r'\btitle\s*=\s*(?:\{+|")\s*(.+)', re.IGNORECASE)  # note no comma!
                    
132        kp2 = re.compile(r'([^\t]+)\t*')
                    
155            # Filter out }'s and ,'s at the end. Ugly!
                    
156            nobraces = re.compile(r'\s*,*\}*(.+)')
                    
157            titles = [nobraces.search(t[::-1]).group(1)[::-1] for t in titles]
                    
                
metadata.py https://gitlab.com/areema/myproject | Python | 317 lines
                    
38# in METADATA/PKG-INFO. Support its syntax with the extra at the end only.
                    
39EXTRA_RE = re.compile("""^(?P<package>.*?)(;\s*(?P<condition>.*?)(extra == '(?P<extra>.*?)')?)$""")
                    
40KEYWORDS_RE = re.compile("[\0-,]+")
                    
                
SideBarItem.py https://gitlab.com/Blueprint-Marketing/sublime-config | Python | 476 lines
                    
74					print '-------------------------------------------------------'
                    
75					path4 = re.sub(re.compile("^"+re.escape(path2), re.IGNORECASE), '', path3);
                    
76					print path4
                    
                
XMLParser.py https://github.com/jackygrahamez/DrugDiscovery-Home.git | Python | 343 lines
                    
104            dict =  self.reDict[k] = {}
                    
105            dict['re'] = re.compile(k)
                    
106            dict['lines'] = []
                    
                
base.py https://github.com/aruder77/applause.git | Python | 326 lines
                    
61# http://dev.mysql.com/doc/refman/5.0/en/news.html .
                    
62server_version_re = re.compile(r'(\d{1,2})\.(\d{1,2})\.(\d{1,2})')
                    
63
                    
                
escape.py https://github.com/daharon/tornado.git | Python | 327 lines
                    
62
                    
63_XHTML_ESCAPE_RE = re.compile('[&<>"]')
                    
64_XHTML_ESCAPE_DICT = {'&': '&amp;', '<': '&lt;', '>': '&gt;', '"': '&quot;'}
                    
222# This regex should avoid those problems.
                    
223_URL_RE = re.compile(ur"""\b((?:([\w-]+):(/{1,3})|www[.])(?:(?:(?:[^\s&()]|&amp;|&quot;)*(?:[^!"#$%&'()*+,.:;<=>?@\[\]^`{|}~\s]))|(?:\((?:[^\s&()]|&amp;|&quot;)*\)))+)""")
                    
224
                    
                
boost.py https://github.com/a4/a4.git | Python | 366 lines
                    
135	"""silently retrieve the boost version number"""
                    
136	re_but = re.compile('^#define\\s+BOOST_LIB_VERSION\\s+"(.*)"$', re.M)
                    
137	try:
                    
249			self.to_log('Trying pattern %s' % pattern)
                    
250			file = find_lib(re.compile(pattern), files)
                    
251			if file:
                    
                
python_reader.py https://github.com/alemacgo/pypy.git | Python | 392 lines
                    
64
                    
65from_line_prog = re.compile(
                    
66    "^from\s+(?P<mod>[A-Za-z_.0-9]*)\s+import\s+(?P<name>[A-Za-z_.0-9]*)")
                    
66    "^from\s+(?P<mod>[A-Za-z_.0-9]*)\s+import\s+(?P<name>[A-Za-z_.0-9]*)")
                    
67import_line_prog = re.compile(
                    
68    "^(?:import|from)\s+(?P<mod>[A-Za-z_.0-9]*)\s*$")
                    
                
python_reader.py https://github.com/nicolaslara/pypy.git | Python | 392 lines
                    
64
                    
65from_line_prog = re.compile(
                    
66    "^from\s+(?P<mod>[A-Za-z_.0-9]*)\s+import\s+(?P<name>[A-Za-z_.0-9]*)")
                    
66    "^from\s+(?P<mod>[A-Za-z_.0-9]*)\s+import\s+(?P<name>[A-Za-z_.0-9]*)")
                    
67import_line_prog = re.compile(
                    
68    "^(?:import|from)\s+(?P<mod>[A-Za-z_.0-9]*)\s*$")
                    
                
automarkup.py https://github.com/tekkamanninja/linux.git | Python | 293 lines
                    
32#
                    
33RE_function = re.compile(r'\b(([a-zA-Z_]\w+)\(\))', flags=ascii_p3)
                    
34
                    
37#
                    
38RE_generic_type = re.compile(r'\b(struct|union|enum|typedef)\s+([a-zA-Z_]\w+)',
                    
39                             flags=ascii_p3)
                    
44#
                    
45RE_struct = re.compile(r'\b(struct)\s+([a-zA-Z_]\w+)', flags=ascii_p3)
                    
46RE_union = re.compile(r'\b(union)\s+([a-zA-Z_]\w+)', flags=ascii_p3)
                    
46RE_union = re.compile(r'\b(union)\s+([a-zA-Z_]\w+)', flags=ascii_p3)
                    
47RE_enum = re.compile(r'\b(enum)\s+([a-zA-Z_]\w+)', flags=ascii_p3)
                    
48RE_typedef = re.compile(r'\b(typedef)\s+([a-zA-Z_]\w+)', flags=ascii_p3)
                    
53#
                    
54RE_doc = re.compile(r'(\bDocumentation/)?((\.\./)*[\w\-/]+)\.(rst|txt)')
                    
55
                    
                
core.py https://github.com/junalmeida/Sick-Beard.git | Python | 387 lines
                    
9_alabel_prefix = b'xn--'
                    
10_unicode_dots_re = re.compile(u'[\u002e\u3002\uff0e\uff61]')
                    
11
                    
                
win_tool.py https://gitlab.com/jeaster12/fabby | Python | 314 lines
                    
23# link.exe.
                    
24_LINK_EXE_OUT_ARG = re.compile('/OUT:(?P<out>.+)$', re.IGNORECASE)
                    
25
                    
                
xunit.py https://gitlab.com/pooja043/Globus_Docker_4 | Python | 332 lines
                    
54# Invalid XML characters, control characters 0-31 sans \t, \n and \r
                    
55CONTROL_CHARACTERS = re.compile(r"[\000-\010\013\014\016-\037]")
                    
56
                    
56
                    
57TEST_ID = re.compile(r'^(.*?)(\(.*\))$')
                    
58
                    
                
xunit.py https://gitlab.com/pooja043/Globus_Docker_4 | Python | 332 lines
                    
54# Invalid XML characters, control characters 0-31 sans \t, \n and \r
                    
55CONTROL_CHARACTERS = re.compile(r"[\000-\010\013\014\016-\037]")
                    
56
                    
56
                    
57TEST_ID = re.compile(r'^(.*?)(\(.*\))$')
                    
58
                    
                
xunit.py https://gitlab.com/pooja043/Globus_Docker_4 | Python | 332 lines
                    
54# Invalid XML characters, control characters 0-31 sans \t, \n and \r
                    
55CONTROL_CHARACTERS = re.compile(r"[\000-\010\013\014\016-\037]")
                    
56
                    
56
                    
57TEST_ID = re.compile(r'^(.*?)(\(.*\))$')
                    
58
                    
                
xunit.py https://gitlab.com/pooja043/Globus_Docker_4 | Python | 332 lines
                    
54# Invalid XML characters, control characters 0-31 sans \t, \n and \r
                    
55CONTROL_CHARACTERS = re.compile(r"[\000-\010\013\014\016-\037]")
                    
56
                    
56
                    
57TEST_ID = re.compile(r'^(.*?)(\(.*\))$')
                    
58
                    
                
xunit.py https://gitlab.com/pooja043/Globus_Docker_4 | Python | 332 lines
                    
54# Invalid XML characters, control characters 0-31 sans \t, \n and \r
                    
55CONTROL_CHARACTERS = re.compile(r"[\000-\010\013\014\016-\037]")
                    
56
                    
56
                    
57TEST_ID = re.compile(r'^(.*?)(\(.*\))$')
                    
58
                    
                
xunit.py https://gitlab.com/pooja043/Globus_Docker_4 | Python | 332 lines
                    
54# Invalid XML characters, control characters 0-31 sans \t, \n and \r
                    
55CONTROL_CHARACTERS = re.compile(r"[\000-\010\013\014\016-\037]")
                    
56
                    
56
                    
57TEST_ID = re.compile(r'^(.*?)(\(.*\))$')
                    
58
                    
                
xunit.py https://gitlab.com/pooja043/Globus_Docker_3 | Python | 332 lines
                    
54# Invalid XML characters, control characters 0-31 sans \t, \n and \r
                    
55CONTROL_CHARACTERS = re.compile(r"[\000-\010\013\014\016-\037]")
                    
56
                    
56
                    
57TEST_ID = re.compile(r'^(.*?)(\(.*\))$')
                    
58
                    
                
xunit.py https://gitlab.com/pooja043/Globus_Docker_3 | Python | 332 lines
                    
54# Invalid XML characters, control characters 0-31 sans \t, \n and \r
                    
55CONTROL_CHARACTERS = re.compile(r"[\000-\010\013\014\016-\037]")
                    
56
                    
56
                    
57TEST_ID = re.compile(r'^(.*?)(\(.*\))$')
                    
58
                    
                
xunit.py https://gitlab.com/pooja043/Globus_Docker_3 | Python | 332 lines
                    
54# Invalid XML characters, control characters 0-31 sans \t, \n and \r
                    
55CONTROL_CHARACTERS = re.compile(r"[\000-\010\013\014\016-\037]")
                    
56
                    
56
                    
57TEST_ID = re.compile(r'^(.*?)(\(.*\))$')
                    
58
                    
                
xunit.py https://gitlab.com/pooja043/Globus_Docker_3 | Python | 332 lines
                    
54# Invalid XML characters, control characters 0-31 sans \t, \n and \r
                    
55CONTROL_CHARACTERS = re.compile(r"[\000-\010\013\014\016-\037]")
                    
56
                    
56
                    
57TEST_ID = re.compile(r'^(.*?)(\(.*\))$')
                    
58
                    
                
xunit.py https://gitlab.com/pooja043/Globus_Docker_3 | Python | 332 lines
                    
54# Invalid XML characters, control characters 0-31 sans \t, \n and \r
                    
55CONTROL_CHARACTERS = re.compile(r"[\000-\010\013\014\016-\037]")
                    
56
                    
56
                    
57TEST_ID = re.compile(r'^(.*?)(\(.*\))$')
                    
58
                    
                
xunit.py https://gitlab.com/pooja043/Globus_Docker_3 | Python | 332 lines
                    
54# Invalid XML characters, control characters 0-31 sans \t, \n and \r
                    
55CONTROL_CHARACTERS = re.compile(r"[\000-\010\013\014\016-\037]")
                    
56
                    
56
                    
57TEST_ID = re.compile(r'^(.*?)(\(.*\))$')
                    
58
                    
                
xunit.py https://gitlab.com/pooja043/Globus_Docker_3 | Python | 332 lines
                    
54# Invalid XML characters, control characters 0-31 sans \t, \n and \r
                    
55CONTROL_CHARACTERS = re.compile(r"[\000-\010\013\014\016-\037]")
                    
56
                    
56
                    
57TEST_ID = re.compile(r'^(.*?)(\(.*\))$')
                    
58
                    
                
xunit.py https://gitlab.com/pooja043/Globus_Docker_3 | Python | 332 lines
                    
54# Invalid XML characters, control characters 0-31 sans \t, \n and \r
                    
55CONTROL_CHARACTERS = re.compile(r"[\000-\010\013\014\016-\037]")
                    
56
                    
56
                    
57TEST_ID = re.compile(r'^(.*?)(\(.*\))$')
                    
58
                    
                
xunit.py https://gitlab.com/pooja043/Globus_Docker_2 | Python | 332 lines
                    
54# Invalid XML characters, control characters 0-31 sans \t, \n and \r
                    
55CONTROL_CHARACTERS = re.compile(r"[\000-\010\013\014\016-\037]")
                    
56
                    
56
                    
57TEST_ID = re.compile(r'^(.*?)(\(.*\))$')
                    
58
                    
                
xunit.py https://gitlab.com/pooja043/Globus_Docker_2 | Python | 332 lines
                    
54# Invalid XML characters, control characters 0-31 sans \t, \n and \r
                    
55CONTROL_CHARACTERS = re.compile(r"[\000-\010\013\014\016-\037]")
                    
56
                    
56
                    
57TEST_ID = re.compile(r'^(.*?)(\(.*\))$')
                    
58
                    
                
xunit.py https://gitlab.com/pooja043/Globus_Docker_2 | Python | 332 lines
                    
54# Invalid XML characters, control characters 0-31 sans \t, \n and \r
                    
55CONTROL_CHARACTERS = re.compile(r"[\000-\010\013\014\016-\037]")
                    
56
                    
56
                    
57TEST_ID = re.compile(r'^(.*?)(\(.*\))$')
                    
58
                    
                
xunit.py https://gitlab.com/pooja043/Globus_Docker_2 | Python | 332 lines
                    
54# Invalid XML characters, control characters 0-31 sans \t, \n and \r
                    
55CONTROL_CHARACTERS = re.compile(r"[\000-\010\013\014\016-\037]")
                    
56
                    
56
                    
57TEST_ID = re.compile(r'^(.*?)(\(.*\))$')
                    
58
                    
                
xunit.py https://gitlab.com/pooja043/Globus_Docker_2 | Python | 332 lines
                    
54# Invalid XML characters, control characters 0-31 sans \t, \n and \r
                    
55CONTROL_CHARACTERS = re.compile(r"[\000-\010\013\014\016-\037]")
                    
56
                    
56
                    
57TEST_ID = re.compile(r'^(.*?)(\(.*\))$')
                    
58
                    
                
xunit.py https://gitlab.com/pooja043/Globus_Docker_1 | Python | 332 lines
                    
54# Invalid XML characters, control characters 0-31 sans \t, \n and \r
                    
55CONTROL_CHARACTERS = re.compile(r"[\000-\010\013\014\016-\037]")
                    
56
                    
56
                    
57TEST_ID = re.compile(r'^(.*?)(\(.*\))$')
                    
58
                    
                
xunit.py https://gitlab.com/pooja043/Globus_Docker_1 | Python | 332 lines
                    
54# Invalid XML characters, control characters 0-31 sans \t, \n and \r
                    
55CONTROL_CHARACTERS = re.compile(r"[\000-\010\013\014\016-\037]")
                    
56
                    
56
                    
57TEST_ID = re.compile(r'^(.*?)(\(.*\))$')
                    
58
                    
                
xunit.py https://gitlab.com/pooja043/Globus_Docker_1 | Python | 332 lines
                    
54# Invalid XML characters, control characters 0-31 sans \t, \n and \r
                    
55CONTROL_CHARACTERS = re.compile(r"[\000-\010\013\014\016-\037]")
                    
56
                    
56
                    
57TEST_ID = re.compile(r'^(.*?)(\(.*\))$')
                    
58
                    
                
xunit.py https://gitlab.com/pooja043/Globus_Docker_1 | Python | 332 lines
                    
54# Invalid XML characters, control characters 0-31 sans \t, \n and \r
                    
55CONTROL_CHARACTERS = re.compile(r"[\000-\010\013\014\016-\037]")
                    
56
                    
56
                    
57TEST_ID = re.compile(r'^(.*?)(\(.*\))$')
                    
58
                    
                
xunit.py https://gitlab.com/pooja043/Globus_Docker_1 | Python | 332 lines
                    
54# Invalid XML characters, control characters 0-31 sans \t, \n and \r
                    
55CONTROL_CHARACTERS = re.compile(r"[\000-\010\013\014\016-\037]")
                    
56
                    
56
                    
57TEST_ID = re.compile(r'^(.*?)(\(.*\))$')
                    
58
                    
                
xunit.py https://gitlab.com/pooja043/Globus_Docker | Python | 332 lines
                    
54# Invalid XML characters, control characters 0-31 sans \t, \n and \r
                    
55CONTROL_CHARACTERS = re.compile(r"[\000-\010\013\014\016-\037]")
                    
56
                    
56
                    
57TEST_ID = re.compile(r'^(.*?)(\(.*\))$')
                    
58
                    
                
xunit.py https://gitlab.com/pooja043/Globus_Docker | Python | 332 lines
                    
54# Invalid XML characters, control characters 0-31 sans \t, \n and \r
                    
55CONTROL_CHARACTERS = re.compile(r"[\000-\010\013\014\016-\037]")
                    
56
                    
56
                    
57TEST_ID = re.compile(r'^(.*?)(\(.*\))$')
                    
58
                    
                
app.py https://gitlab.com/jennings.p.c/ase-f-ase | Python | 459 lines
                    
108# Find numbers in formulas so that we can convert H2O to H<sub>2</sub>O:
                    
109SUBSCRIPT = re.compile(r'(\d+)')
                    
110
                    
                
etree.py https://gitlab.com/minoca/tools | Python | 337 lines
                    
11
                    
12tag_regexp = re.compile("{([^}]*)}(.*)")
                    
13
                    
                
Checker.py https://gitlab.com/apwaters/m2crypto | Python | 297 lines
                    
66
                    
67    numericIpMatch = re.compile('^[0-9]+(\.[0-9]+)*$')
                    
68
                    
258        certHost = certHost.replace('*', '[^\.]*')
                    
259        if re.compile('^%s$' % (certHost)).match(host):
                    
260            return True
                    
                
head.py https://github.com/jaymzcd/phenny.git | Python | 189 lines
                    
67
                    
68r_title = re.compile(r'(?ims)<title[^>]*>(.*?)</title\s*>')
                    
69r_entity = re.compile(r'&[A-Za-z0-9#]+;')
                    
                
html_completions.py https://gitlab.com/Blueprint-Marketing/sublime-config | Python | 263 lines
                    
33        # Check the first location looks like an expression
                    
34        rex = re.compile("([\w-]+)([.#])(\w+)")
                    
35        expr = match(rex, lines[0])
                    
                
hostmototube_blocked_spark_videos.py https://gitlab.com/zatoshi/iptvplayer-for-e2 | Python | 355 lines
                    
104        if not sts: return
                    
105        match = re.compile('<a class="submenu" href="([^"]+?)">([^<]+?)</a>').findall(data)
                    
106        if match:
                    
                
version.py https://github.com/pombredanne/pip.git | Python | 376 lines
                    
106
                    
107_legacy_version_component_re = re.compile(
                    
108    r"(\d+ | [a-z]+ | \.| -)", re.VERBOSE,
                    
194
                    
195    _regex = re.compile(
                    
196        r"^\s*" + VERSION_PATTERN + r"\s*$",
                    
311
                    
312_local_version_seperators = re.compile(r"[\._-]")
                    
313
                    
                
html2text.py https://gitlab.com/reymor/odoo-version7 | Python | 459 lines
                    
14import urlparse
                    
15sgmllib.charref = re.compile('&#([xX]?[0-9a-fA-F]+)[^0-9a-fA-F]')
                    
16
                    
82
                    
83r_unescape = re.compile(r"&(#?[xX]?(?:[0-9a-fA-F]+|\w{1,8}));")
                    
84def unescape(s):
                    
                
html2text.py https://gitlab.com/reymor/odoo-version7 | Python | 459 lines
                    
14import urlparse
                    
15sgmllib.charref = re.compile('&#([xX]?[0-9a-fA-F]+)[^0-9a-fA-F]')
                    
16
                    
82
                    
83r_unescape = re.compile(r"&(#?[xX]?(?:[0-9a-fA-F]+|\w{1,8}));")
                    
84def unescape(s):
                    
                
python_reader.py https://github.com/ssadler/pypy.git | Python | 392 lines
                    
64
                    
65from_line_prog = re.compile(
                    
66    "^from\s+(?P<mod>[A-Za-z_.0-9]*)\s+import\s+(?P<name>[A-Za-z_.0-9]*)")
                    
66    "^from\s+(?P<mod>[A-Za-z_.0-9]*)\s+import\s+(?P<name>[A-Za-z_.0-9]*)")
                    
67import_line_prog = re.compile(
                    
68    "^(?:import|from)\s+(?P<mod>[A-Za-z_.0-9]*)\s*$")
                    
                
readability.py https://gitlab.com/zouxc/cola | Python | 368 lines
                    
38REGEXES = { 
                    
39    'unlikelyCandidatesRe': re.compile('combx|comment|disqus|foot|header|menu|meta|nav|rss|shoutbox|sidebar|aside|sponsor',re.I),
                    
40    'okMaybeItsACandidateRe': re.compile('and|article|body|column|main',re.I),
                    
40    'okMaybeItsACandidateRe': re.compile('and|article|body|column|main',re.I),
                    
41    'positiveRe': re.compile('article|body|content|entry|hentry|page|pagination|post|text',re.I),
                    
42    'negativeRe': re.compile('combx|comment|contact|foot|footer|footnote|link|media|meta|promo|related|scroll|shoutbox|sponsor|tags|widget',re.I),
                    
42    'negativeRe': re.compile('combx|comment|contact|foot|footer|footnote|link|media|meta|promo|related|scroll|shoutbox|sponsor|tags|widget',re.I),
                    
43    'divToPElementsRe': re.compile('<(a|blockquote|dl|div|img|ol|p|pre|table|ul)',re.I),
                    
44    'replaceBrsRe': re.compile('(<br[^>]*>[ \n\r\t]*){2,}',re.I),
                    
44    'replaceBrsRe': re.compile('(<br[^>]*>[ \n\r\t]*){2,}',re.I),
                    
45    'replaceFontsRe': re.compile('<(\/?)font[^>]*>',re.I),
                    
46    'trimRe': re.compile('^\s+|\s+$/'),
                    
46    'trimRe': re.compile('^\s+|\s+$/'),
                    
47    'normalizeRe': re.compile('\s{2,}/'),
                    
48    'killBreaksRe': re.compile('(<br\s*\/?>(\s|&nbsp;?)*){1,}/'),
                    
                
utils.py https://github.com/oranheim/infinispan.git | Python | 414 lines
                    
184  """Retrieves a search path based on where the current executable is located.  Returns a string to be prepended to add"""
                    
185  in_bin_dir = re.compile('^.*/?bin/.*.py')
                    
186  if in_bin_dir.search(executable):
                    
394def get_version_pattern(): 
                    
395  return re.compile("^([4-9]\.[0-9])\.[0-9]\.(Final|(ALPHA|BETA|CR)[1-9][0-9]?)$", re.IGNORECASE)
                    
396
                    
402def assert_python_minimum_version(major, minor):
                    
403  e = re.compile('([0-9])\.([0-9])\.([0-9]).*')
                    
404  m = e.match(sys.version)
                    
                
config.py https://gitlab.com/pooja043/Globus_Docker_4 | Python | 284 lines
                    
21
                    
22nonascii_re = re.compile(b(r'[\x80-\xff]'))
                    
23
                    
                
config.py https://gitlab.com/pooja043/Globus_Docker_4 | Python | 284 lines
                    
21
                    
22nonascii_re = re.compile(b(r'[\x80-\xff]'))
                    
23
                    
                
 

Source

Language