divijbindlish / parse-torrent-name

Extract media information from a filename
MIT License
217 stars 61 forks source link

Match regex with word boundaries #4

Closed roidayan closed 8 years ago

roidayan commented 8 years ago

This will make sure we won't treat part of word as a match. E.g. without word boundaries DTS for audio matched also TS for quiality.

Fix test expected from TS to BRRip where needed. Add some output to the unittest so it will be easy to read on error.

Signed-off-by: Roi Dayan roi.dayan@gmail.com

divijbindlish commented 8 years ago

Thanks for the fix. This is quite nice 👍