]> git.alsa-project.org Git - alsa-lib.git/commit
ucm: allow to escape the trailing variable substitution character
authorJaroslav Kysela <perex@perex.cz>
Fri, 16 Apr 2021 10:34:29 +0000 (12:34 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 16 Apr 2021 10:38:29 +0000 (12:38 +0200)
commit652ddf866f371acd5fee2ada055e01a473f78ea8
treeed0cebdb4c1f3c937281cf6014fe5baacda61779
parentddb0871ec61b61f2f1a401165e6bd31043892fd5
ucm: allow to escape the trailing variable substitution character

Example:

  ${find-device:ctl='hw:0',type=pcm,field=id,regex='USB A{1\\}'}

Unescaped find-device arguments:

  ctl='hw:0',type=pcm,field=id,regex='USB A{1}'

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/ucm/ucm_subs.c