mroonga_escape UDF provides functionality to escape given string. It also accepts parameter what character should be escaped.
mroonga_escape has required parameter and optional parameter:
mroonga_escape string
[special_characters]
TODO
It returns escaped string.