From: Paul Varner Date: Tue, 20 Mar 2012 03:59:02 +0000 (-0500) Subject: Add patch from Vitaly Shimansky to fix regex in modify_packages() X-Git-Tag: gentoolkit-0.3.0.6~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1ec0b2f81f2186c10411240a3b590c67dc341e1b;p=gentoolkit.git Add patch from Vitaly Shimansky to fix regex in modify_packages() --- 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._*-]+)?"