Skip to content

Conversation

@q--
Copy link

@q-- q-- commented Mar 26, 2024

So, for __('\'Hello\', World!') it previously detected the string 'Hello\; after this fix, it'll properly detect 'Hello', World!

This happened for \' both when followed by a comma , or a closing parenthesis ).

q-- added 2 commits March 26, 2024 15:45
So, for `__('\'Hello\', World!')` it previously detected the string
`'Hello\`; after this fix, it'll properly detect `'Hello', World!`
@q-- q-- changed the title Ignore escaped quotes when detecting end of string File scanner: Ignore escaped quotes when detecting end of string (e.g. \') Mar 26, 2024
@q-- q-- changed the title File scanner: Ignore escaped quotes when detecting end of string (e.g. \') File scanner: Ignore escaped quotes when detecting end of string (e.g. \') Mar 26, 2024
@q-- q-- changed the title File scanner: Ignore escaped quotes when detecting end of string (e.g. \') File scanner: Ignore escaped quotes when detecting end of string (\') Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant