equal
deleted
inserted
replaced
272 returned. If the path ends with '@name' then the value of the attribute |
272 returned. If the path ends with '@name' then the value of the attribute |
273 'name' will be returned. |
273 'name' will be returned. |
274 |
274 |
275 You can use INSPECT to test for the existence of an element or attribute, |
275 You can use INSPECT to test for the existence of an element or attribute, |
276 or you can see if it is equal to a string by appending `=STRING` (as in the |
276 or you can see if it is equal to a string by appending `=STRING` (as in the |
277 example above). Finally,you can also test whether it matches a given Lua |
277 example above). Finally, you can also test whether it matches a given Lua |
278 pattern by using `~=PATTERN`. |
278 pattern by using `~=PATTERN`. |
279 |
279 |
280 INSPECT is somewhat slower than the other stanza matching conditions. To |
280 INSPECT is somewhat slower than the other stanza matching conditions. To |
281 minimise performance impact, always place it below other faster |
281 minimise performance impact, always place it below other faster |
282 condition checks where possible (e.g. above we first checked KIND, TYPE |
282 condition checks where possible (e.g. above we first checked KIND, TYPE |