Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
port\s*\((.*?)(?:\)\s*;\s*\w)
/
s
Input 1
entity pci_bfm is generic ( G_INST_NAME : string := "PCI_BFM"; G_HANDLE_NO : rpciBfmHandleNo := 0; G_IDSEL_POS_EXT_TARGET : idsel_pos := 30; G_IDSEL_POS_INT_TARGET : idsel_pos := 29 ) ; port( i_tb_stop : in boolean; -- Testbench global sto o_clk : out std_logic; -- PCI clock. o_rstn : out std_logic; -- PCI reset. o_idsel : out std_logic; -- Initialization devic i_reqn : in std_logic; -- Req