Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

database: change reassignment selection to modal dialogue #965

Merged
merged 8 commits into from
Nov 3, 2024
Prev Previous commit
Next Next commit
database: raw string for regex
  • Loading branch information
Morg42 authored Oct 16, 2024
commit 368b372db240bab98466b948d29bb7212bc350ca
2 changes: 1 addition & 1 deletion database/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1207,7 +1207,7 @@ def _expression(self, func):
expression['finalizer'] = func[:func.index(":")]
func = func[func.index(":") + 1:]
if func == 'count' or func.startswith('count'):
parts = re.match('(count)((<>|!=|<|=|>)(\d+))?', func)
parts = re.match(r'(count)((<>|!=|<|=|>)(\d+))?', func)
func = 'count'
if parts and parts.group(3) is not None:
expression['params']['op'] = parts.group(3)
Expand Down
Loading