[:space:] should be [[:space:]]