All of lore.kernel.org
 help / color / mirror / Atom feed
* Regex question
       [not found] <1843535080d02c00-webhooks-bot@alsa-project.org>
@ 2025-05-27  7:58 ` GitHub issues - opened
  0 siblings, 0 replies; only message in thread
From: GitHub issues - opened @ 2025-05-27  7:58 UTC (permalink / raw)
  To: alsa-devel

alsa-project/alsa-ucm-conf issue #567 was opened from shumingfan:

We have an Intel platform machine that equips the rt722 multi-codecs and rt1320 amplifier.
This machine driver will use the amp of rt722 and rt1320 both.
Therefore, the component string is shown below.

`Components    : 'HDA:8086281d,80860101,00100000  cfg-amp:2 hs:rt722 spk:rt722 spk:rt1320'`

I tried to modify the regular expression to capture substrings to SpeakerCodec1 and SpeakerCodec2 variables.
However, I can't get SpeakerCodec2="rt1320", even though I changed the regular expression to 
```
SpeakerCodec {
	Regex " spk:(rt722)| spk:(rt1320)"
	String "${CardComponents}"
}
```
The variable SpeakerCodec2 is still an empty string.
What do I miss?

Issue URL     : https://github.com/alsa-project/alsa-ucm-conf/issues/567
Repository URL: https://github.com/alsa-project/alsa-ucm-conf

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-05-27  7:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1843535080d02c00-webhooks-bot@alsa-project.org>
2025-05-27  7:58 ` Regex question GitHub issues - opened

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.