Packages
Packages copied to clipboard
[Ruby] Incorrect syntax highlighting in Regexp literal with single quote
What happened?
If a single quote (') is placed inside a Regexp literal expression the code afterwards is highlighted as text
let(:error_msg) { /can't be blank/ }
before do
record.repository_owner = nil
record.repository_name = nil
end
Sublime Version: 4152 OS Version: Linux fedora 6.4.4-100.fc37.x86_64
The whole pattern is not scoped as such, nor is the whole let(...)
statement.