diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-02-27 15:11:00 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-02-27 15:11:00 +0000 |
commit | 9f0de403c5a87b361430af1defea46009799f6eb (patch) | |
tree | 399d7f30505e0322cef20e3b0b2c596e25939cd0 /string.c | |
parent | f3e1c29b2414510b4622336bed790960c0762057 (diff) | |
download | ruby-9f0de403c5a87b361430af1defea46009799f6eb.tar.gz |
Paranoia: /^/ -> /\A/ in regexp in rdoc. Pointed out by nobu.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6777,8 +6777,8 @@ rb_str_oct(VALUE str) * standard library function <code>crypt(3)</code> with the given * salt string. While the format and the result are system and * implementation dependent, using a salt matching the regular - * expression <code>^[a-zA-Z0-9./]{2}</code> should be safe and valid - * on any platform, in which only the first two characters are + * expression <code>\A[a-zA-Z0-9./]{2}</code> should be valid and + * safe on any platform, in which only the first two characters are * significant. * * This method is for use in system specific scripts, so if you want |