mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Merge pull request #133 from nEEtdo0d/master
fix regexp for durations using two digits namely '12'. It would incor…
This commit is contained in:
commit
94f6d6536a
@ -20,7 +20,7 @@ FILTER_REGEX = re.compile('(s[123])?'
|
||||
'(dr|pry)?'
|
||||
'([bcdeghqt])?'
|
||||
'-?'
|
||||
'(\d.\d|\d)?')
|
||||
'(\d.\d|\d\d?)?')
|
||||
FILTER_ATTR = ('series', 'ship', 'ship_rarity', 'genre', 'duration')
|
||||
FILTER_PRESET = ('shortest', 'cheapest', 'reset')
|
||||
FILTER = Filter(FILTER_REGEX, FILTER_ATTR, FILTER_PRESET)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user