qed/replacer.rdoc in regex-1.1.0 vs qed/replacer.rdoc in regex-1.1.1
- old
+ new
@@ -1,6 +1,6 @@
-= Search and Replace
+== Regex::Replacer
Regex can also be used to do search and replace across multiple
strings or IO objects, includeing files.
require 'regex'
@@ -45,10 +45,10 @@
io.read.assert == "Hello, Planet Earth!!!"
If +io+ were a File object, rather than a StringIO, the file would
be changed on disk. As a precaution a backup file can be written
-with then name of file plus a '.bak' extension in the same directory as
+with the name of file plus a '.bak' extension in the same directory as
the file. To turn on the backup option, either supply it as an option
to the constructor, or set it via the writer method.
replacer.backup = true