bugfix qvar? memoization, only memoize regexp check, minor doc updates