Closed theludovyc closed 1 year ago
In the doc [var_name] = ? [character_tag] [question] [placeholder]
[var_name] = ? [character_tag] [question] [placeholder]
In rakugo [var_name] = [character_tag] [question] ? [placeholder]
[var_name] = [character_tag] [question] ? [placeholder]
The doc version is better.
Plus the current ask regex "^(?<variable>{VARIABLE}) = ((?<character_tag>{NAME}) )?(?<question>{STRING}) \\? (?<default_answer>{STRING})$"
"^(?<variable>{VARIABLE}) = ((?<character_tag>{NAME}) )?(?<question>{STRING}) \\? (?<default_answer>{STRING})$"
Force the user to add a space at the end after the '?', if you do not want to add default answer
@theludovyc I also think that doc version is better - it easier to find/see where you have asks in script.
In the doc
[var_name] = ? [character_tag] [question] [placeholder]
In rakugo
[var_name] = [character_tag] [question] ? [placeholder]
The doc version is better.
Plus the current ask regex
"^(?<variable>{VARIABLE}) = ((?<character_tag>{NAME}) )?(?<question>{STRING}) \\? (?<default_answer>{STRING})$"
Force the user to add a space at the end after the '?', if you do not want to add default answer