v0.2.0
Breaking
- Make
matches()
return anIterable
instead of anArray
(#3) d3a07ad- This means the iterations are lazy and you can stop the matching early.
- Just use the spread operator to get an array from it.
Improvements
- Throw a better error from
matches()
when regex is not global (#6) 3efe43d - Add
matchTimeout
option (#3) d3a07ad