Treating bytes as cardinal numbers

Implementing a regex test instead of a string comparison
Merge pull request #30 from avoidwork/edge

Minor fix