Skip to content

Commit

Permalink
Merge pull request AUTOMATIC1111#13458 from wkpark/fieldname-regex
Browse files Browse the repository at this point in the history
fix fieldname regex
  • Loading branch information
AUTOMATIC1111 committed Oct 1, 2023
2 parents c011387 + deeec0b commit e3c849d
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[\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 e3c849d

Please sign in to comment.