Commit graph

6 commits

Author SHA1 Message Date
root
3fb5f3d20d Fixed bug where plugin stopped replacing 2014-07-18 20:29:08 +10:00
Ruben
5c1dbb3596 Try except added to re.sub to prevent plugin from crashing if incorrect regexes where provided. Removed default values for search_str and replace_str 2014-07-18 14:29:55 +10:00
root
d6f3405f71 Added regex support.
Plugin now takes a search and replace string (no regex supported) or a regex file.

Regex file format is: <regex1>\t<regex2>

Regex file contains pyton regexes so matching groups can be used
2014-07-18 08:39:06 +10:00
root
3d3099fb00 Replace on self is useless 2014-07-17 20:46:01 +10:00
Ruben
2142cf24c5 A replace function makes this module so much more useful 2014-07-17 14:01:48 +10:00
Ruben
0bca0ca557 Added Replace.py module.
Module capable of replacing a string within a HTML document.
2014-07-17 13:45:08 +10:00