How to except multiple types in recognization (verilog-typedef-regexp)
szkarn opened this issue · 2 comments
szkarn commented
Hello,
Does anyone knows how to fill in the verilog-typedef-regexp when multiple types needed to be excepted?
I had searched the helps and Issues, but not figure it out.
The most I found is single type like below:
// Local Variables:
// verilog-typedef-regexp:"_t$"
// End:
wsnyder commented
It's an Emacs Regular Expression
You then need to backslash quote any backslashes as it's an Emacs string.
// verilog-typedef-regexp:"\\(_fooa\\|_t\\)$"
szkarn commented
Get it. Thanks so much