Yes, what I mean is for the sake of replacing question marks you don't need this information, here is how state would change:

normal -> " -> doubleQuoted -> a -> doubleQuoted -> " -> normal -> " -> doubleQuoted -> b -> doubleQuoted -> " -> normal

this should work just fine, no?