mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2024-11-21 14:18:57 -07:00
Fix warning about possible future breakage
Incoming Unicode regular expressions allow brackets inside brackets, therefore POSIX semantics no longer apply. Python warns about possible future breakage, so add backslash escape to square bracket opening inside the character class.
This commit is contained in:
parent
dc655e3501
commit
75b29c92ed
2 changed files with 2 additions and 2 deletions
|
@ -1,2 +1,2 @@
|
|||
REGEX
|
||||
[[,] [0-9]{7}\.[0-9]*
|
||||
[\[,] [0-9]{7}\.[0-9]*
|
|
@ -1,2 +1,2 @@
|
|||
REGEX
|
||||
[[,] [0-9]{8}\.[0-9]*
|
||||
[\[,] [0-9]{8}\.[0-9]*
|
Loading…
Reference in a new issue