mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-22 01:46:15 +01:00
for consistency, make ant_glob case sensitive everywhere by default
This commit is contained in:
parent
0328aa6847
commit
264b0ab5f5
@ -528,7 +528,7 @@ class Node(object):
|
||||
:type remove: bool
|
||||
:param maxdepth: maximum depth of recursion
|
||||
:type maxdepth: int
|
||||
:param ignorecase: ignore case while matching (True by default on Windows, False by default elsewhere)
|
||||
:param ignorecase: ignore case while matching (False by default)
|
||||
:type ignorecase: bool
|
||||
"""
|
||||
|
||||
@ -537,8 +537,7 @@ class Node(object):
|
||||
|
||||
excl = kw.get('excl', exclude_regs)
|
||||
incl = k and k[0] or kw.get('incl', '**')
|
||||
ignc = kw.get('ignorecase', Utils.is_win32)
|
||||
reflags = ignc and re.I or 0
|
||||
reflags = kw.get('ignorecase', 0) and re.I
|
||||
|
||||
def to_pat(s):
|
||||
lst = Utils.to_list(s)
|
||||
|
Loading…
Reference in New Issue
Block a user