diff --git a/.internal/stringToPath.js b/.internal/stringToPath.js index 20347d8bc..886fdec66 100644 --- a/.internal/stringToPath.js +++ b/.internal/stringToPath.js @@ -9,7 +9,7 @@ const rePropName = RegExp( '\\[(?:' + // Match numbers. '(-?\\d+(?:\\.\\d+)?)' + '|' + - // Or match strings (supports escaping quotation marks). + // Or match strings (supports escaping characters). '(["\'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2' + ')\\]'+ '|' + // Or match "" as the space between consecutive dots or empty brackets.