properly ignore multiline string and comments while seeking