projects
/
org.ibex.core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
move JS's Hashtable to JS.O
[org.ibex.core.git]
/
src
/
org
/
ibex
/
js
/
JSRegexp.java
diff --git
a/src/org/ibex/js/JSRegexp.java
b/src/org/ibex/js/JSRegexp.java
index
da22d2e
..
f203426
100644
(file)
--- a/
src/org/ibex/js/JSRegexp.java
+++ b/
src/org/ibex/js/JSRegexp.java
@@
-91,7
+91,7
@@
public class JSRegexp extends JS {
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();