Looking for \% or \$ or \#
TODO: only recognize \$ or \# if isELIgnored is false, but since
it can be set in a page directive, it cannot be determined
here. Argh! (which is the way it should be since we shouldn't
convolude multiple steps at once and create confusing parsers...)