Patched up regex matching bug. Included tests for it. Fixes issue #26.