Open gobshyte opened 4 months ago
As explained in the syntax description, $$count#wildcards
is syntax that affects only a single wildcard.
The current wildcard system is borrowed from an existing wildcard system for convenience. While it works fine for simple wildcards, its intuitiveness significantly diminishes as more complex syntax is introduced. TBH, since it is not well-formed syntax, it's hard to know where grammatical conflicts might occur.
So, I believe it is appropriate to devise a separate prompt description language for any syntactic elements other than __xxx__
or {||}
.
Yeah I was under the impression the 'wildcard' was anything between || rather than xxx, and agreed it is confusing. I love using them regardless!!
Hi
I'm trying to use the quantifying wildcard, as described here: https://github.com/ltdrdata/ComfyUI-extension-tutorials/blob/Main/ComfyUI-Impact-Pack/tutorial/ImpactWildcard.md#syntax
In my initial testing, I had a simple file with colours in, and I wanted to randomly select 1-4 colors, so I did this:
This is the same as if I did this:
However, if I want to put commas between them...
This works:
But this behaves a little unexpectedly:
It seems off with multiple quantifiers also:
It's like any constant value in each wildcard is only included once and is not being picked up by the quantifier?