Skip to content

Commit 7802df8

Browse files
committed
fix: minor spacing issues with mask function
1 parent f89abca commit 7802df8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/source-rewrites.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const regExpEscape = /[-[\]{}()*+?.,\\^$#\s]/g,
2727
basicStrEscape = /["'`$\\]/g,
2828
charset = /&#173;|&#8203;|&shy;|<wbr>/gi,
2929
subtermsByCaps = /[A-Z]?[^A-Z]+|[A-Z]/g,
30-
subtermsByVowels = /(?<=[AEIOUYaeiouy])/g,
30+
subtermsByVowels = /(?<=[AEIOUYaeiouy])(?!$)/g,
3131
termsBySpaces = /\S+/g,
3232
containsMask = /&#\d+;|&#x[A-z\d]+;|&[A-z]+;/,
3333
getEndPoint = /((?<![^\/])github\/)?[^\/]+$/,

0 commit comments

Comments
 (0)