diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/regexp.rdoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/regexp.rdoc b/doc/regexp.rdoc index 1c68533a8d..9263e229d8 100644 --- a/doc/regexp.rdoc +++ b/doc/regexp.rdoc @@ -611,7 +611,7 @@ The following patterns match instantly as you would expect: /(b|a)/ =~ s #=> 0 /(b|a+)/ =~ s #=> 0 - /(b|a+)*\/ =~ s #=> 0 + /(b|a+)*/ =~ s #=> 0 However, the following pattern takes appreciably longer: |