3 ms·
Okay, I gotcha with the [1, 1]. I'm still curious about using it. The GitHub example [1] works as described, but I can't get a result from the 'he' example.
by venning 9y ago
Okay, I gotcha with the [1, 1].
I'm still curious about using it. The GitHub example [1] works as described, but I can't get a result from the 'he' example. Is it saying no match was found by returning an empty array?
EDIT: Okay, saw your edit. Might be nice to use an example that's not a stopword. ;) Nice work on the library and the blog post.
[1] https://github.com/KingPixil/wade#usage https://github.com/KingPixil/wade#usage
- kbr 9y agoCool, glad you understood. The library returns an array of results, and will return an empty array if there are none. Try searching for "h" or "hey" for an example.