Commit e903a234 authored by Diederik van Arkel's avatar Diederik van Arkel

remove 'replace by nothing' restriction

parent 9f12dee8
......@@ -305,8 +305,10 @@ sr_worker wId work_type finfo pstate
| (work_type == Replace || work_type == ReplaceAll) && isEmpty finfo.fi_repl
= pstate
# rep = hd finfo.fi_repl
/* Removed due to popular demand...
| (work_type == Replace || work_type == ReplaceAll) && size rep == 0
= pstate
*/
= case work_type of
Find
# fri =
......@@ -365,11 +367,13 @@ sr_types_worker work_type finfo pstate
# fnd = hd finfo.fi_find
| size fnd == 0
= pstate
/* Removed due to pointless...
| (work_type == Replace || work_type == ReplaceAll) && isEmpty finfo.fi_repl
= pstate
# rep = hd finfo.fi_repl
| (work_type == Replace || work_type == ReplaceAll) && size rep == 0
= pstate
*/
= case work_type of
Find
# fri =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment