equal
deleted
inserted
replaced
539 return False |
539 return False |
540 |
540 |
541 def globmatch(el, l): |
541 def globmatch(el, l): |
542 # The only supported special characters are * and ? plus / which also |
542 # The only supported special characters are * and ? plus / which also |
543 # matches \ on windows. Escaping of these caracters is supported. |
543 # matches \ on windows. Escaping of these caracters is supported. |
|
544 if el + '\n' == l: |
|
545 return True |
544 i, n = 0, len(el) |
546 i, n = 0, len(el) |
545 res = '' |
547 res = '' |
546 while i < n: |
548 while i < n: |
547 c = el[i] |
549 c = el[i] |
548 i += 1 |
550 i += 1 |