Rename `lib` to `core`
Add lib package file
Simplify tests signature
Add matches test
Add `contains` function
Add more regex finding functions
Better slice printing when test fails
Fix some tests with empty results
Fix return types