Skip to content

Commit

Permalink
Add missing global alias $MATCH from English.rb.
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Dec 31, 2011
1 parent cd29901 commit 3a83bb7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/org/jruby/RubyGlobal.java
Expand Up @@ -397,6 +397,7 @@ public static void createGlobals(ThreadContext context, Ruby runtime) {
globals.alias("$LAST_MATCH_INFO", "$~");
globals.alias("$IGNORECASE", "$=");
globals.alias("$ARGV", "$*");
globals.alias("$MATCH", "$&");
globals.alias("$PREMATCH", "$`");
globals.alias("$POSTMATCH", "$'");
globals.alias("$LAST_PAREN_MATCH", "$+");
Expand Down

0 comments on commit 3a83bb7

Please sign in to comment.