From 6ee583e119b432fee03f908547729d5da030397e Mon Sep 17 00:00:00 2001 From: Charles Brunet Date: Thu, 9 Jan 2025 17:00:09 -0500 Subject: allow to compare multiple version with version_compare --- docs/yaml/elementary/str.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/yaml/elementary') diff --git a/docs/yaml/elementary/str.yml b/docs/yaml/elementary/str.yml index 9d059cc09..44aa74240 100644 --- a/docs/yaml/elementary/str.yml +++ b/docs/yaml/elementary/str.yml @@ -306,6 +306,12 @@ methods: It is best to be unambiguous and specify the full revision level to compare. + *Since 1.8.0* multiple versions can be compared: + + ```meson + '3.6'.version_compare('>=3', '<4.0') == true + ``` + posargs: compare_string: type: str -- cgit v1.2.3