diff --git a/docs/search_syntax.md b/docs/search_syntax.md index 44d6d05d8..e2b9dcd82 100644 --- a/docs/search_syntax.md +++ b/docs/search_syntax.md @@ -214,6 +214,11 @@ Select only the metrics where the name starts with "Test" metric.name.startswith('Test') ``` +Select only the metrics where the name contains "Metric1" +```python +re.search("Metric1", metric.name) +``` + ### Example with ```metric.last``` (numeric) Select only the metrics where the last value is exactly 1.1