Skip to content

Commit d53b64c

Browse files
STY: Apply ruff/refurb rule FURB167
FURB167 Use of regular expression alias
1 parent 4c216b1 commit d53b64c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/nicom/ascconv.py

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

1111
ASCCONV_RE = re.compile(
1212
r'### ASCCONV BEGIN((?:\s*[^=\s]+=[^=\s]+)*) ###\n(.*?)\n### ASCCONV END ###',
13-
flags=re.M | re.S,
13+
flags=re.MULTILINE | re.DOTALL,
1414
)
1515

1616

0 commit comments

Comments
 (0)