I just pushed a fix that should allow you to do this:
rake posts:remap['^(#+)([^#\\s].*)$','\\1 \\2','regex']