From 568d448dadcb6581796a9ff587a6b5b3c0d9acf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Wed, 3 Feb 2010 21:27:27 +0100 Subject: [PATCH] Fix typo in regexp, replacing ; char MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rafał Miłecki --- pm/sleep.d/98-video-quirk-db-handler | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pm/sleep.d/98-video-quirk-db-handler b/pm/sleep.d/98-video-quirk-db-handler index 71ba480..77dada4 100755 --- a/pm/sleep.d/98-video-quirk-db-handler +++ b/pm/sleep.d/98-video-quirk-db-handler @@ -204,7 +204,7 @@ isnum() { # $2 = the given constant (or regular expression), # $1 = the raw data grabbed from HAL or dmidecode or wherever -regex() { [[ $1 =~ ${2/;/|} ]]; } +regex() { [[ $1 =~ ${2//;/|} ]]; } regex_ncase() { local r -- 1.6.4.2