diff --git a/lib/sisimai/string.rb b/lib/sisimai/string.rb index 107db0ff..d3d993ac 100644 --- a/lib/sisimai/string.rb +++ b/lib/sisimai/string.rb @@ -66,8 +66,8 @@ def to_plain(argv1 = '', loose = false) # 3. ... to " http://... " # 4. ... to " Value " plain.scrub!('?') - plain.gsub!(%r|.+|im, '') - plain.gsub!(%r|.+|im, '') + plain.gsub!(%r|.*?|im, '') + plain.gsub!(%r|.*?|im, '') plain.gsub!(%r|(.*?)|i, '[\2](\1)') plain.gsub!(%r|(.*?)|i, '[\2](mailto:\1)')