move JS's Hashtable to JS.O
[org.ibex.core.git] / src / org / ibex / js / JSRegexp.java
index da22d2e..f203426 100644 (file)
@@ -91,7 +91,7 @@ public class JSRegexp extends JS {
   
     private static Object matchToExecResult(REMatch match, RE re, String s) {
         try {
   
     private static Object matchToExecResult(REMatch match, RE re, String s) {
         try {
-            JS ret = new JS();
+            JS ret = new JS.O();
             ret.put("index", N(match.getStartIndex()));
             ret.put("input",s);
             int n = re.getNumSubs();
             ret.put("index", N(match.getStartIndex()));
             ret.put("input",s);
             int n = re.getNumSubs();