in reply to Re: Re: Re: Re: What's like $+ but not gives the ordinal?
in thread What's like $+ but not gives the ordinal?
@- [snip] with `substr $_, $-[$#-], $+[$#-]'. One can use `$#-' to find the last matched subgroup in the last successful match. Contrast with `$#+', the number of subgroups in the regular expression. Compare with `@+'. [snip]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Re: What's like $+ but not gives the ordinal?
by John M. Dlugosz (Monsignor) on Jun 28, 2001 at 19:32 UTC | |
by tye (Sage) on Jun 28, 2001 at 20:26 UTC | |
by John M. Dlugosz (Monsignor) on Jun 28, 2001 at 22:58 UTC |