Pattern match / macros
Posted: Wed Jan 29, 2003 4:34 pm
Anyone know who to write a macro to turn this:
.f_tx_rdy_0(f_tx_rdy_0),
.jtdi(jtdo),
.rstn(rstn),
.f_rx_fail(f_rx_fail),
.cpu_RDY_n(cpu_RDY_n),
.f_rx_rdy_0(f_rx_rdy_0),
.clk(pclk),
.lclk(clk5),
into this:
.f_tx_rdy_0,
.jtdi,
.rstn,
.f_rx_fail,
.cpu_RDY_n,
.f_rx_rdy_0,
.clk,
.lclk,
i.e. find the open brace, then delete it and everything following up to and including the close brace ?
Thanks for any help,
Derek Roberts
.f_tx_rdy_0(f_tx_rdy_0),
.jtdi(jtdo),
.rstn(rstn),
.f_rx_fail(f_rx_fail),
.cpu_RDY_n(cpu_RDY_n),
.f_rx_rdy_0(f_rx_rdy_0),
.clk(pclk),
.lclk(clk5),
into this:
.f_tx_rdy_0,
.jtdi,
.rstn,
.f_rx_fail,
.cpu_RDY_n,
.f_rx_rdy_0,
.clk,
.lclk,
i.e. find the open brace, then delete it and everything following up to and including the close brace ?
Thanks for any help,
Derek Roberts