Skip to content

Commit b648e52

Browse files
committed
Added docs indicating classesmatching() returns an empty list when no classes match
Changelog: None Ticket: CFE-4495
1 parent c0ec170 commit b648e52

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

reference/functions/classesmatching.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ When any tags are given, only the classes with those tags matching the given
1818
[anchored][anchored] regular expressions are returned. Class tags are set
1919
using the [`meta`][Promise types#meta] attribute.
2020

21+
If no classes match `name` and any tags given then an empty list is returned.
22+
2123
[%CFEngine_function_attributes(name, tag1, tag2, ...)%]
2224

2325
**Example:**

0 commit comments

Comments
 (0)