veripool/verilog-mode

How to except multiple types in recognization (verilog-typedef-regexp)

szkarn opened this issue · 2 comments

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:

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\\)$"

Get it. Thanks so much