| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Ensure that regular expressions are r'' strings, avoid too long lines
and fix line wrapping. Also avoid catching toplevel Exception when
possible and use binascii for hex to binary conversion which is
available in both Python 2 and 3.
|
|
|
|
|
|
|
|
|
| |
This adds a number of tests for numbers found online. The length check
has also been revisited because both shorter numbers and longer number
have been found.
This also updates the format() function to handle arbitrary length
numbers.
|
|
|
|
| |
Makes the code slightly simpler and more compact.
|
|
Based on the implementation in the vatnumber module.
|