mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* re.c (rb_reg_initialize): fix indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
22dcc88584
commit
afea9046a9
1 changed files with 2 additions and 2 deletions
4
re.c
4
re.c
|
@ -2387,8 +2387,8 @@ rb_reg_initialize(VALUE obj, const char *s, long len, rb_encoding *enc,
|
|||
re->ptr = 0;
|
||||
|
||||
if (rb_enc_dummy_p(enc)) {
|
||||
errcpy(err, "can't make regexp with dummy encoding");
|
||||
return -1;
|
||||
errcpy(err, "can't make regexp with dummy encoding");
|
||||
return -1;
|
||||
}
|
||||
|
||||
unescaped = rb_reg_preprocess(s, s+len, enc, &fixed_enc, err);
|
||||
|
|
Loading…
Reference in a new issue