Skip to content

Commit cd15d1d

Browse files
authored
Merge pull request #3393 from nickanderson/CFE-4495/master
CFE-4495: Added docs indicating classesmatching() returns an empty list when no classes match
2 parents 6794237 + b648e52 commit cd15d1d

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)