Brace expansion: Difference between revisions

Line 3,256:
Out = ["Itemized, please.", "Itemize, please.", "Iterated, please.", "Iterate, please.", "Italicized, please.", "Italicize, please."].
 
?- brace_expansion("{,{,gotta have{ ,\\, again\\, }}more }cowbell!", Out), writeln(Out).
[cowbell!,more cowbell!,gotta have more cowbell!,gotta have, again, more cowbell!]
Out = ["cowbell!", "more cowbell!", "gotta have more cowbell!", "gotta have, again, more cowbell!"].