We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If a var definition RHS contains a ‘=‘, that will act as the end of the definition. Instead it should be part of the variable value. Example:
! var website = https://www.rivescript.com/try/#/doc?x=y&more=more_stuff + where is your (website|web site|site) - <bot website>
The text was updated successfully, but these errors were encountered:
Potential fix in parser.py:
# Handle the types of RiveScript commands. if cmd == '!': # ! DEFINE - halves = re.split(RE.equals, line, 2) + halves = re.split(RE.equals, line, 1)
Sorry, something went wrong.
Potential fix for js version:
// Handle the types of RiveScript commands. switch (cmd) { case "!": // ! Define - let halves = line.split("=", 2); + let halves = line.split("=", 1);
Fixed in #144.
No branches or pull requests
If a var definition RHS contains a ‘=‘, that will act as the end of the definition. Instead it should be part of the variable value. Example:
User: Where is your site?
Bot: https://www.rivescript.com/try/#/doc?x
The text was updated successfully, but these errors were encountered: