Fix string library patterns
Fix LexState having special characters
Fix primitive comparison failing under certain circumstances