File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2525 r'\bport \d{5,5}\b' : 'port 11111' , # Remote port
2626 r'\bW/(?P<quote>\\?")[^"]*(?P=quote)' : 'W/"ETag"' , # ETag header
2727 # Common files
28- r'/tmp/[^/:"\']{6,}(?:/[^/:"\']+)*/?' : '/tmp/d1ff1065' ,
28+ r'/tmp/[^/:"\'\s ]{6,}(?:/[^/:"\'\s ]+)*/?' : '/tmp/d1ff1065' ,
2929 # Common tools
3030 r'(?P<step_no>(?:\s|\A)#\d+) \d+\.\d+' : r'\g<step_no> 1' , # Docker build steps
3131 # strace process PIDs
3737 r'[a-fA-F0-9]{7,}' : 'd1ff1065' , # Hash digest
3838 # Progress bar, e.g. in pip, tqdm
3939 r'^(?P<indent>[ \t]*)(?P<pct>\d+%\|)?'
40- r'(?P<symbol>[━=█])(?P=symbol){4,}(?(pct)\||)'
41- r'([ \d.,:/\][<]|(MB|kB|B|it)(:? /s)?|eta)*' : r'\g<indent>━━━━━' ,
40+ r'(?P<symbol>[━=█])(?P=symbol){4,} * (?(pct)\||)'
41+ r'(?: [ \d.,:/\][<]|(?: MB|kB|B|it)(?: /s)?|eta)*' : r'\g<indent>━━━━━' ,
4242}
4343
4444assert all (re .match (fr'\A(?:{ p } )\Z' , v )
You can’t perform that action at this time.
0 commit comments