diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2010-02-03 21:27:27 +0100 |
---|---|---|
committer | Michael Biebl <mbiebl@gmail.com> | 2010-02-03 22:03:34 +0100 |
commit | 8fb0119543fc186786ff5dd10cccab066ede1860 (patch) | |
tree | 24662d00ef0ba22b3cf88ceae987e4547c395f37 | |
parent | d1cf11b9be14dd88bc1eeb9b7cd729fbcee632f7 (diff) |
Fix typo in regexp, replacing ; char
Replace all occurences of ; not only the first one
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
-rwxr-xr-x | 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 |