utils: lookup_unit_table: Use a stricter regex
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 18 Mar 2016 18:18:55 +0000 (19:18 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 18 Mar 2016 18:23:06 +0000 (19:23 +0100)
commit09fc33198a4cfc93a98ce1ba7d51d41c487e5f56
treed0f0286ee92d826d2c0fd76e1bbd8e564c3211dc
parent4c3b16d5d1bf4806693d2895928ac1b03585b2b2
utils: lookup_unit_table: Use a stricter regex

In parse_count multiple units start with the same letter, so it would match different units depending on the order they were sorted when iterating over them.
youtube_dl/utils.py