From 24b8649c3391e35104a492d8546ce197cbdc5068 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 20 Jul 2018 17:56:06 -0700 Subject: Tweaks to the API for text matching. --- compatibility/compatibility.nom | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compatibility/compatibility.nom') diff --git a/compatibility/compatibility.nom b/compatibility/compatibility.nom index c5ac55f..87ba321 100644 --- a/compatibility/compatibility.nom +++ b/compatibility/compatibility.nom @@ -1,4 +1,4 @@ -#!/usr/bin/env nomsu -V2.3.4.3 +#!/usr/bin/env nomsu -V2.5 use "core" use "lib/os.nom" @@ -42,7 +42,7 @@ action [..] %tree upgraded from %start_version to %end_version %tree upgraded to %end_version from %start_version ..: - local action [%ver as list] ((% as number) for % where %ver matches "[0-9]+") + local action [%ver as list] ((% as number) for % in %ver matching "[0-9]+") %versions = {} for %v = % in %UPGRADES: %versions.%v = (yes) for %v = % in %ACTION_UPGRADES: %versions.%v = (yes) -- cgit v1.2.3