Skip to content

Commit

Permalink
bash lexer: fixing #5344
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey-T committed Jan 10, 2024
1 parent 9e605b6 commit ac870e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -364,10 +364,11 @@ object SyntAnal2: TLibSyntAnalyzer
end
item
DisplayName = 'Regexp'
Enabled = False
StyleName = 'String regexp'
BlockName = '[['
TokenType = 14
Expression = '(?<=\=~\x20*)\S+'
Expression = '(?<=\=~\x20*)\S+'#13#10'#2024.01: it breaks: [[ $vv =~ '#39'text'#39' ]]'
ColumnFrom = 0
ColumnTo = 0
end
Expand Down
3 changes: 2 additions & 1 deletion app/data/lexlib/Bash script.lcf
Original file line number Diff line number Diff line change
Expand Up @@ -364,10 +364,11 @@ object SyntAnal2: TLibSyntAnalyzer
end
item
DisplayName = 'Regexp'
Enabled = False
StyleName = 'String regexp'
BlockName = '[['
TokenType = 14
Expression = '(?<=\=~\x20*)\S+'
Expression = '(?<=\=~\x20*)\S+'#13#10'#2024.01: it breaks: [[ $vv =~ '#39'text'#39' ]]'
ColumnFrom = 0
ColumnTo = 0
end
Expand Down

0 comments on commit ac870e8

Please sign in to comment.