Search the Community
Showing results for tags 'spintax'.
-
This snippet works perfectly for nested spintax: However, I can't figure out how I can write a function that will output all the permutations of nested spintax. For example: for a string "John went to the {{grocery |}store|library}" I would get: John went to the library John went to the store John went to the grocery store ... I can't figure this out - - I can kinda figure it out if there isn't any nesting (regex out all the text between brackets)...but nesting makes it pretty complicated for me to wrap my head around :)
-
I was trying to use the script here: But this is the console output I'm getting from the example provided: Hello World!|Greetings Everyone, C++ is an awesome|n astonishing programming language. Howdy Dude!|Good Day Everyone, Java is an awesome| wonderful programming language. Hi Dude!|Excuse Me Everyone, C is an amazing| wonderful programming language. Howdy World!|Excuse Me Ladys and Gents, Java is an awesome|n astonishing language. It can handle spintax that isn't nested, but not nested. I'm currently using python for spintax, using this library https://github.com/AceLewis/spintax But I'd love to not have to make that py CMD call and just use AutoIt instead.
- 5 replies
-
- spintax
- nested spintax
-
(and 2 more)
Tagged with: