You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
William W. Kimball, Jr., MBA, MSIS edited this page Mar 3, 2020
·
1 revision
YAML Path enables searching Arrays of scalar values, returning only those elements which match some criteria. For non-scalar searches, refer to (Hash Attribute Searches)[https://github.com/wwkimball/yamlpath/wiki/Segment:-Hash-Attribute-Searches], which are capable of searching more complex Arrays.
Along with the examples below, see Search Expressions for details of how to express Hash Attribute Searches.
Should a user desire a report of all "triple-digit" recorded temperature measurements, they could use temperature[. =~ /\d{3}/] and they'd get back 3 results: