README.rdoc in re_expand-0.0.3 vs README.rdoc in re_expand-0.0.4
- old
+ new
@@ -8,10 +8,10 @@
If a filter pattern is given, the output is filtered by the pattern.
== SYNOPSIS:
require 're_expand'
- "test (a|b|c)".expand { |s|
+ "test (a|b|c)".expand { |s,a|
puts s
}
# "test a", "test b", ...
"(a|b)(1|2)".expand
# => ['a1', 'a2', 'b1', 'b2']
\ No newline at end of file