You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have artifacts with capitalize and non-capitalize names. When I'm using glob to search artifacts with capitalize names, it returns all of them. But I expect only capitalized.
Example:
# My artifactory:# /aaa/file_1.txt# /aaa/file_2.txt# /aaa/FILE_3.txtforpinArtifactoryPath('aaa').glob('FILE*'):
print(p)
# Real Out:# /aaa/file_1.txt# /aaa/file_2.txt# /aaa/FILE_3.txt## My expectation:# /aaa/FILE_3.txt
It happens because compile_pattern function contain next code:
I have artifacts with capitalize and non-capitalize names. When I'm using
glob
to search artifacts with capitalize names, it returns all of them. But I expect only capitalized.Example:
It happens because compile_pattern function contain next code:
to fix it should be next:
The text was updated successfully, but these errors were encountered: