C
Christoph Blank
Hi,
I have a text like this:
"This {is|was} a {good|nice} day" and want to generate possible
combinations like:
This is a good day
This was a good day
This is a nice day
This was a nice day
I tried using zsh functionality to output this, but it doesn't seem that
easy.
Does anyone know an easy way how to do this in ruby?
Thank you.
I have a text like this:
"This {is|was} a {good|nice} day" and want to generate possible
combinations like:
This is a good day
This was a good day
This is a nice day
This was a nice day
I tried using zsh functionality to output this, but it doesn't seem that
easy.
Does anyone know an easy way how to do this in ruby?
Thank you.