Skip to content

Commit

Permalink
fix(ruby) fixed typo (#3259)
Browse files Browse the repository at this point in the history
  • Loading branch information
eltociear committed Jul 3, 2021
1 parent 28c7d41 commit 55f68f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/languages/ruby.js
Expand Up @@ -252,7 +252,7 @@ export default function(hljs) {
},
NUMBER,
{
// negative-look forward attemps to prevent false matches like:
// negative-look forward attempts to prevent false matches like:
// @ident@ or $ident$ that might indicate this is not ruby at all
className: "variable",
begin: '(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])' + `(?![A-Za-z])(?![@$?'])`
Expand Down

0 comments on commit 55f68f7

Please sign in to comment.