How does the library deal with wildcards in terms? The term() function seems to escape them, which is not intended.