Skip to content

Commit

Permalink
Merge pull request AUTOMATIC1111#12876 from ljleb/fix-re
Browse files Browse the repository at this point in the history
Fix generation params regex
  • Loading branch information
AUTOMATIC1111 committed Aug 31, 2023
1 parent ae7291f commit e7965a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/generation_parameters_copypaste.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from modules import shared, ui_tempdir, script_callbacks, processing
from PIL import Image

re_param_code = r'\s*([\w ]+):\s*("(?:\\"[^,]|\\"|\\|[^\"])+"|[^,]*)(?:,|$)'
re_param_code = r'\s*([\w ]+):\s*("(?:\\.|[^\\"])+"|[^,]*)(?:,|$)'
re_param = re.compile(re_param_code)
re_imagesize = re.compile(r"^(\d+)x(\d+)$")
re_hypernet_hash = re.compile("\(([0-9a-f]+)\)$")
Expand Down

0 comments on commit e7965a5

Please sign in to comment.