aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-07-16 20:48:14 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-07-16 20:48:14 -0400
commitb62c8fd41cf32ea33de9d4f74415c665d315ecb1 (patch)
tree8e46f8e2aae34c35807906424dc18da50df30344 /tools
parentb06268b3ab9da5140bb87fdc1ef7cde27e5ffd47 (diff)
search.js uses `space` regexes now, improving nword match
Diffstat (limited to 'tools')
-rw-r--r--tools/search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/search.js b/tools/search.js
index 378f316..56137b8 100644
--- a/tools/search.js
+++ b/tools/search.js
@@ -32,7 +32,7 @@ function Search(){ // searchBlock should be a Space object.
searchspace.comb( this.tiles[tile], comb.add );
});
for (let i=0; i<this.spaces.length; i++){
- let coords = searchspace.search(this.spaces[i]);
+ let coords = searchspace.regex(this.spaces[i]);
if (coords.length) this.calls[i](vec.add(coords, searchspace.loc), send, searchspace);
}
}