From b62c8fd41cf32ea33de9d4f74415c665d315ecb1 Mon Sep 17 00:00:00 2001
From: Holden Rohrer <hr@hrhr.dev>
Date: Thu, 16 Jul 2020 20:48:14 -0400
Subject: search.js uses `space` regexes now, improving nword match

---
 tools/search.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'tools')

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);
     }
   }
-- 
cgit