We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67644b9 commit e44100dCopy full SHA for e44100d
src/languages/ruby.js
@@ -375,7 +375,7 @@ export default function(hljs) {
375
METHOD_DEFINITION,
376
{
377
// swallow namespace qualifiers before symbols
378
- begin: hljs.IDENT_RE + '::'
+ begin: '::'
379
},
380
381
className: 'symbol',
@@ -384,7 +384,7 @@ export default function(hljs) {
384
385
386
387
- begin: '(?<!:):(?!\\s|:)',
+ begin: ':(?!\\s|:)',
388
contains: [
389
{ begin: /'/, end: /'/ },
390
0 commit comments