mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-15 10:09:47 +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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user