I wish to create a category that handles spelling and grammar mistake and then ask the user to correct it and respond again. When the user does that then the original expected category should get invoked, but it does not because the <that> has got changed.
I work around I am doing is to show the last that at the end but that looks not so cool after some time…
<category>
<pattern>*</pattern>
<template>
Please help me understand you better.
Please restate what you wanted to say using some other words.
Please be direct and make sure that you are using the right spellings.
Let me repeat my last sentence for you. <that index="1"/>
</template>
</category>
In the code above I wish to skip the last two lines but yet achieve retaining the earlier that, please advise.