'how can I write a correct regression in vscode

I want to write a regression to search a string in files ending with .h or .c. So how can I write the right regression?

enter image description here

Just shown above, I want to put the regression in the files to inlude box.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source