fix scanner for strings
- was incorrect when there is something like '\\'