bin/sup-config in sup-0.3 vs bin/sup-config in sup-0.4
- old
+ new
@@ -94,10 +94,10 @@
fn = axe "What's the folder path?", $last_folder #"srm
return if fn.nil? || fn.empty?
$last_folder = fn
fn = "/#{fn}" # lame
- if srv =~ /^(\w+):(\d+)$/
+ if srv =~ /^(\S+):(\d+)$/
host, port = $1, $2.to_i
else
host, port = srv, nil
end
[Redwood::IMAP.suggest_labels_for(fn),