Closed untergeek closed 8 years ago
Good catch. In Ruby, "\s" is literally a space, so Regexp.new("\s*")
would be the same as Regexp.new(" *")
(matching hex 0x20 (space) only, not any whitespace)
Tests pass. Code LGTM.
LGTM ( Tests pass)
Aaron Mildenstein merged this into the following branches!
Branch | Commits |
---|---|
master | 189cd92d7eedcda48748e310dc200280d7d2d633 |
This was causing issues with empty keys when spaces were present.
fixes #22