Xresources scan logic fixes

Changed value regex to avoid matching whitespace, fixed overall line
regex to correctly parse the line (included regex engine apaprently
can't handle \s), fixed minor pointer issues I introduced due to
carelessness in earlier commit (dereferencing string to char when I
didn't mean to), added boolean conversion.