aboutsummaryrefslogtreecommitdiffstats
path: root/audio/streamripper/files/patch-lib_parse.c
blob: 00c29023af6a122cf147b40fbbf5a25856289746 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- lib/parse.c.orig
+++ lib/parse.c
@@ -68,14 +68,14 @@
    PARSERULE_ICASE,
    0, 0, 0, 0,
    0, 
-   "[[:space:]]*-?[[:space:]]*mp3pro$",
+   " *-? *mp3pro$",
    ""
     },
     { PARSERULE_CMD_MATCH, 
    PARSERULE_ICASE,
    1, 2, 0, 0,
-   0, 
-   "^[[:space:]]*([^-]*?)[[:space:]]*-[[:space:]]*(.*?)[[:space:]]*$",
+   0,
+   "^ *([^-]*)? *- *(.*) *$", 
    ""
     },
     { 0x00,