From 3503aae7f606769873d633b9dabd473e836feb85 Mon Sep 17 00:00:00 2001 From: Ruan Yifeng Date: Sun, 14 Jun 2015 08:43:44 +0800 Subject: [PATCH] edit symbol --- docs/string.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() 字符串必须转义,才能作为正则模式。