diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-04-09 09:30:25 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-04-09 09:30:25 +0000 |
commit | e32da15f48189cfba02a9be2e6572161d91b3122 (patch) | |
tree | 47c660015f96f23220975c71fd69e71f8a69b6ef /re.c | |
parent | 8673eacafa039f056927e0f91ce195afae9b9019 (diff) |
1.1b9_09 pre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 're.c')
-rw-r--r-- | re.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -913,6 +913,10 @@ reg_regsub(str, src, regs) if (no == 0) continue; break; + case '\\': + str_cat(val, s-1, 1); + continue; + default: str_cat(val, s-2, 2); continue; |