summaryrefslogtreecommitdiff
path: root/topology/pre-processor.c
diff options
context:
space:
mode:
Diffstat (limited to 'topology/pre-processor.c')
-rw-r--r--topology/pre-processor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/topology/pre-processor.c b/topology/pre-processor.c
index 38bb87b..3f20252 100644
--- a/topology/pre-processor.c
+++ b/topology/pre-processor.c
@@ -493,14 +493,14 @@ static int pre_process_include_conf(struct tplg_pre_processor *tplg_pp, snd_conf
if (snd_config_get_id(n, &id) < 0)
continue;
- ret = regcomp(&regex, id, 0);
+ ret = regcomp(&regex, id, REG_EXTENDED | REG_ICASE);
if (ret) {
fprintf(stderr, "Could not compile regex\n");
goto err;
}
/* Execute regular expression */
- ret = regexec(&regex, value, 0, NULL, REG_ICASE);
+ ret = regexec(&regex, value, 0, NULL, 0);
if (ret)
continue;