diff --git a/index.js b/index.js index 0877a74..b0002cb 100644 --- a/index.js +++ b/index.js @@ -58,7 +58,7 @@ module.exports = ( // `my_URLstring` → `my_url_string` return decamelized .replace( - /(\p{Uppercase_Letter}+)(\p{Uppercase_Letter}\p{Lowercase_Letter}+)/gu, + /(\p{Uppercase_Letter})(\p{Uppercase_Letter}\p{Lowercase_Letter}+)/gu, replacement ) .toLowerCase();