Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisseaton committed Mar 31, 2015
1 parent ad4dcf0 commit fffb9e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/RubyRegexp.java
Expand Up @@ -1864,7 +1864,7 @@ private static void appendRegexpString19(Ruby runtime, ByteList to, byte[]bytes,
c = enc.mbcToCode(bytes, p, end);
}

if (!Encoding.'isAscii(c)) {
if (!Encoding.isAscii(c)) {
p += StringSupport.length(enc, bytes, p, end);
} else if (c != '/' && enc.isPrint(c)) {
p += cl;
Expand Down

0 comments on commit fffb9e3

Please sign in to comment.