Skip to content

Commit

Permalink
fix(wren) require word boundary before class name
Browse files Browse the repository at this point in the history
  • Loading branch information
joshgoebel committed Jun 7, 2021
1 parent 1c9b87c commit bb0e02c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/languages/wren.js
Expand Up @@ -159,7 +159,7 @@ export default function(hljs) {
// CamelCase
const CLASS_REFERENCE = {
relevance: 0,
match: /[A-Z]+[a-z]+([A-Z]+[a-z]+)*/,
match: /\b[A-Z]+[a-z]+([A-Z]+[a-z]+)*/,
scope: "title.class",
keywords: {
_: CORE_CLASSES
Expand Down

0 comments on commit bb0e02c

Please sign in to comment.