Skip to content

Commit

Permalink
📈 performance(index): Optimize unnecessary capturing. (#462) by @exoego
Browse files Browse the repository at this point in the history
  • Loading branch information
TATSUNO Yasuhiro authored and kazupon committed Nov 15, 2018
1 parent cf942d0 commit 116845e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const numberFormatKeys = [
'localeMatcher',
'formatMatcher'
]
const linkKeyMatcher = /(@:([\w\-_|.]+|\([\w\-_|.]+\)))/g
const linkKeyMatcher = /(?:@:(?:[\w\-_|.]+|\([\w\-_|.]+\)))/g
const bracketsMatcher = /[()]/g

export default class VueI18n {
Expand Down

0 comments on commit 116845e

Please sign in to comment.