From 1ec0b2f81f2186c10411240a3b590c67dc341e1b Mon Sep 17 00:00:00 2001 From: Paul Varner Date: Mon, 19 Mar 2012 22:59:02 -0500 Subject: [PATCH] Add patch from Vitaly Shimansky to fix regex in modify_packages() --- bin/euse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/euse b/bin/euse index 9c00cc3..24edeb9 100755 --- a/bin/euse +++ b/bin/euse @@ -1036,7 +1036,7 @@ scrub_use_flag() { modify_package() { get_useflags - local atom_re="^[<>]?=?([a-z][\da-z/-]+[a-z])(-[0-9pr._*-]+)?" + local atom_re="^[<>]?=?([a-z][0-9a-z/-]+[a-z])(-[0-9pr._*-]+)?" local pkg=$(echo "${PACKAGE}" | sed -re "s/${atom_re}/\1/") local V=$(echo "${PACKAGE}" | sed -re "s/${atom_re}/\2/") local pkg_re="[<>]?=?${pkg}(-[\dpr._*-]+)?" -- 2.26.2