Index: hbase-server/src/main/ruby/shell/commands/disable_all.rb =================================================================== --- hbase-server/src/main/ruby/shell/commands/disable_all.rb (revision 1407354) +++ hbase-server/src/main/ruby/shell/commands/disable_all.rb (working copy) @@ -29,8 +29,7 @@ end def command(regex) - regex = /^#{regex}$/ unless regex.is_a?(Regexp) - list = admin.list.grep(regex) + list = admin.list(regex) count = list.size list.each do |table| formatter.row([ table ]) Index: hbase-server/src/main/ruby/shell/commands/drop_all.rb =================================================================== --- hbase-server/src/main/ruby/shell/commands/drop_all.rb (revision 1407354) +++ hbase-server/src/main/ruby/shell/commands/drop_all.rb (working copy) @@ -29,8 +29,7 @@ end def command(regex) - regex = /^#{regex}$/ unless regex.is_a?(Regexp) - list = admin.list.grep(regex) + list = admin.list(regex) count = list.size list.each do |table| formatter.row([ table ]) Index: hbase-server/src/main/ruby/shell/commands/enable_all.rb =================================================================== --- hbase-server/src/main/ruby/shell/commands/enable_all.rb (revision 1407354) +++ hbase-server/src/main/ruby/shell/commands/enable_all.rb (working copy) @@ -29,8 +29,7 @@ end def command(regex) - regex = /^#{regex}$/ unless regex.is_a?(Regexp) - list = admin.list.grep(regex) + list = admin.list(regex) count = list.size list.each do |table| formatter.row([ table ])