in reply to Not getting proper output value
Your posted code has some problems:
A general point: Don't you see that you are trying to process two basically different patterns? 'int abc;' gets altered (apparently) unconditionally, but '.abc(abc_p)' gets altered only if the 'abc' or 'abc_p' pattern is repeated. Recognizing the patterns you're dealing with is the first step toward solving this (or any) regex problem.
Give a man a fish: <%-{-{-{-<
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Not getting proper output value
by suvendra123 (Initiate) on Apr 05, 2021 at 22:59 UTC | |
by AnomalousMonk (Archbishop) on Apr 06, 2021 at 18:36 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |