My attempt at a RegEx solution

Fixes #19
should this not be self.nullValue?