Skip to content

Commit

Permalink
Fix regexp deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
relf committed Nov 22, 2023
1 parent 15706a9 commit 9f8354b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyDOE3/doe_factorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def fracfact(gen):
"""
# Recognize letters and combinations
A = [item for item in re.split("\-|\s|\+", gen) if item] # remove empty strings
A = [item for item in re.split(r"\-|\s|\+", gen) if item] # remove empty strings
C = [len(item) for item in A]

# Indices of single letters (main factors)
Expand Down

0 comments on commit 9f8354b

Please sign in to comment.