From d598ac5d0e1b357340b9dfa2e4372f2617a3e047 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rajmund=20Hru=C5=A1ka?= <rajmund.hruska@cesnet.cz>
Date: Mon, 28 Apr 2025 14:17:29 +0200
Subject: [PATCH] Refactor: Remove unused terminal definition
---
ransack/parser.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/ransack/parser.py b/ransack/parser.py
index aa58e27..fa23d78 100644
--- a/ransack/parser.py
+++ b/ransack/parser.py
@@ -103,7 +103,6 @@ class Parser:
STRING: /"([^"]+)"|\'([^\']+)\'/
VARIABLE: /\.?[_a-zA-Z][-_a-zA-Z0-9]*(?:\.?[a-zA-Z][-_a-zA-Z0-9]*)*/
FUNCTION.2: /[_a-zA-Z][_a-zA-Z0-9]*\(/
- NUMBER_RANGE.2: /(-?\d+(\.\d+)?)\s*(\.\.)\s*(-?\d+(\.\d+)?)/
%import common.WS
%ignore WS
--
GitLab