aboutsummaryrefslogtreecommitdiff
path: root/src/regexp/exec_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/regexp/exec_test.go')
-rw-r--r--src/regexp/exec_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regexp/exec_test.go b/src/regexp/exec_test.go
index 4872cb3def..0f95b95972 100644
--- a/src/regexp/exec_test.go
+++ b/src/regexp/exec_test.go
@@ -409,7 +409,7 @@ Reading:
// h REG_MULTIREF multiple digit backref
// i REG_ICASE ignore case
// j REG_SPAN . matches \n
- // k REG_ESCAPE \ to ecape [...] delimiter
+ // k REG_ESCAPE \ to escape [...] delimiter
// l REG_LEFT implicit ^...
// m REG_MINIMAL minimal match
// n REG_NEWLINE explicit \n match