Skip to content

topology: pre-processor: fix regular expression flags#195

Closed
aiChaoSONG wants to merge 1 commit intoalsa-project:masterfrom
aiChaoSONG:fix_re
Closed

topology: pre-processor: fix regular expression flags#195
aiChaoSONG wants to merge 1 commit intoalsa-project:masterfrom
aiChaoSONG:fix_re

Conversation

@aiChaoSONG
Copy link
Copy Markdown
Contributor

The REG_ICASE flag is a compile-time flag (cflags), it should be used with regcomp() instead of regexec(). Also add the REG_EXTENDED flag in this patch to make patterns like 'tgl|adl' work.

The REG_ICASE flag is a compile-time flag (cflags), it
should be used with regcomp() instead of regexec(). Also
add the REG_EXTENDED flag in this patch to make patterns
like 'tgl|adl' work.

Signed-off-by: Chao Song <chao.song@linux.intel.com>
@perexg perexg closed this in 52f6fb7 May 3, 2023
wileyhy pushed a commit to wileyhy/alsa-utils that referenced this pull request May 5, 2023
The REG_ICASE flag is a compile-time flag (cflags), it
should be used with regcomp() instead of regexec(). Also
add the REG_EXTENDED flag in this patch to make patterns
like 'tgl|adl' work.

Fixes: alsa-project#195
Signed-off-by: Chao Song <chao.song@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant