hwg-languages archives | Feb 2000 | new search | results | previous | next |
Perl regex questionby Jeff Adelsberger <jade(at)edoc.com> |
|
Greetings all, In a regex is there a way to affect a previously captured value. ie: s/blahblah([0-9]+)\-($1+1)/blahblah$1, blahblah$2/g; ^^^^ where the ^^^^ item is the first captured value plus one? ----------------------- Jeff Adelsberger Production Specialist Dynamic Diagrams - Baltimore / CPC phone: 410.694.4149 email: jade(at)edoc.com -----------------------
HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA