in reply to Re: nested reg ex over multiple lines
in thread nested reg ex over multiple lines
but $2 to equal "test2". perl seems to be greedy, and gets all the way to the "ms" in brackets if I add the /s to the match, i.e. it is greedy. Does this explain things better? Cheers.CALCON(test2) { TYPE(U16) FEATURE(DCOM) NAM(dcomc_sestmr_timeout) LABEL(DCOM Session Timer Timeout) MIN(0) MAX(65535) UNITS(ms) }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: nested reg ex over multiple lines
by holli (Abbot) on Jun 20, 2005 at 13:49 UTC | |
|
Re^3: nested reg ex over multiple lines
by tphyahoo (Vicar) on Jun 20, 2005 at 14:18 UTC |