only match the regex at the end of the string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@22678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -305,8 +305,7 @@ class FindFiles:
|
|||||||
f = f + "."
|
f = f + "."
|
||||||
else:
|
else:
|
||||||
f = f + ch
|
f = f + ch
|
||||||
|
return re.compile(f+'$')
|
||||||
return re.compile(f)
|
|
||||||
|
|
||||||
def StripExt(self, file_nm):
|
def StripExt(self, file_nm):
|
||||||
fl_fld = os.path.splitext(file_nm)
|
fl_fld = os.path.splitext(file_nm)
|
||||||
|
Reference in New Issue
Block a user