-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed

Description
I'm in a situation where Squirrel updating fails when iterating over one particular release entry
E6651B768DB82076E7113086558548B4DA4F8F6F Artifact - BoxHeader - e7ee795c-99e1-4ecb-a72c-9a41461d8198.xml.shasum 8669
using this Regex:
^([0-9a-fA-F]{40})\s+(\S+)\s+(\d+)[\r]*$
The culprit appears to be that (\S+)
will only match non-whitespace characters. I've played a bit around with the Regex Tester at http://regexstorm.net/tester, and my suggestion would be to change the Regex to something similar to
^([0-9a-fA-F]{40})\s+(.*).shasum[\s+](\d+)[\r]*$
We don't really want to be forced to change the filenames or escape the spaces, so I'm interested in a solution where we can avoid that. Thanks in advance.
cbenard, immersive and user234
Metadata
Metadata
Assignees
Labels
No labels