diff options
author | Akira TAGOH <akira@tagoh.org> | 2013-01-29 20:19:36 +0900 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2013-02-01 12:56:14 +0900 |
commit | 20191810d1fea7c2f49b65ffee3e4d5e2bc0bac3 (patch) | |
tree | fa5925889556407d6a9da7303e50039974e2ee4f /src/fcinit.c | |
parent | c1d9588890798e389d0f0ba633b704dee1ea8bf5 (diff) |
Bug 23757 - Add mode="delete" to <edit>
Add two edit mode, "delete" and "delete_all".
what values are being deleted depends on <test> as documented.
if the target object is same to what is tested, matching value there
will be deleted. otherwise all of values in the object will be deleted.
so this would means both edit mode will not take any expressions.
e.g.
Given that the testing is always true here, the following rules:
<match>
<test name="foo" compare="eq">
<string>bar</string>
</test>
<edit name="foo" mode="delete"/>
</match>
will removes "bar" string from "foo" object. and:
<match>
<test name="foo" compare="eq">
<string>foo</string>
</test>
<edit name="bar" mode="delete"/>
</match>
will removes all of values in "bar" object.
Diffstat (limited to 'src/fcinit.c')
0 files changed, 0 insertions, 0 deletions