sometimes you want to match many things one after the other. you can do this in many ways. one way of doing this is by using a REGULAR EXPRESSION.
this language bites of "hahahahahaha" with as many "ha"s as you want.
TRANSLATED:
it's easy. [just] write the REGULAR EXPRESSION for it.
const laughTerm = new RegExpTerm(/(ha)+/)
then use it.
function translate(text) {
return laughTerm.translate(text)
}
back to the dream