We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a47cf1d commit 75cd3f3Copy full SHA for 75cd3f3
1 file changed
module/research/selector.py
@@ -141,8 +141,14 @@ def research_sort_filter(self, enforce=False):
141
self.config.Research_UsePart))
142
logger.attr('Allow delay', self.config.Research_AllowDelay)
143
144
+ # Case insensitive
145
+ string = string.lower()
146
# Filter uses `hakuryu`, but allows both `hakuryu` and `hakuryuu`
- string = string.lower().replace('hakuryuu', 'hakuryu')
147
+ string = string.replace('hakuryuu', 'hakuryu')
148
+ # Allow both `fastest` and `shortest`
149
+ string = string.replace('fastest', 'shortest')
150
+ # Allow both `PR` and `PRY`
151
+ string = re.sub(r'pr([\d\- >])', r'pry\1', string)
152
153
FILTER.load(string)
154
priority = FILTER.apply(self.projects, func=partial(self._research_check, enforce=enforce))
0 commit comments