Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegexReplace ¶
RegexReplace applies the regular expression src to filename and replaces matches with repl. If filename is a directory, it does this recursively for all files and directories contained in it. The replace string repl supports formatting according to the regexp package.
func SearchAndReplace ¶
SearchAndReplace replaces all instances of srchStr in filename with replStr. If filename is a directory, it does this recursively for all files and directories contained in it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.