diff --git a/docs/string.md b/docs/string.md index 1e98079..50769ba 100644 --- a/docs/string.md +++ b/docs/string.md @@ -356,7 +356,7 @@ r.sticky // true ``` -## Regexp.escape +## Regexp.escape() 字符串必须转义,才能作为正则模式。