Skip to content

Commit a76b9b5

Browse files
committed
Redundant parenthesis
1 parent 96062f6 commit a76b9b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spicelib/editor/base_editor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272

7373

7474
def PARAM_REGEX(pname):
75-
return r"(?P<name>" + pname + r")\s*[= ]\s*(?P<value>(?P<cb>\{)?(?(cb)[^\}]*\}|((?P<st>\")?(?(st)[^\"]*\"|[\d\.\+\-Ee]+[a-zA-Z%]*))))"
75+
return r"(?P<name>" + pname + r")\s*[= ]\s*(?P<value>(?P<cb>\{)?(?(cb)[^\}]*\}|(?P<st>\")?(?(st)[^\"]*\"|[\d\.\+\-Ee]+[a-zA-Z%]*)))"
7676

7777

7878
def format_eng(value) -> str:

0 commit comments

Comments
 (0)