I
Ian Hannah
I have an equation like follows:
choose(condition, choose(condition, x, y), z)
which can have any number of choose statements embeded. The parts x, y and z
can themselves contain commas but these will be in brackets e.g
choose(condition, choose(condition, data(x,2), data(y,2) + data(y,3)), z)
For each of the two main arguments to the choose statement I want to replace
the item with some other additional text e.g.
choose(condition, choose(condition, func(data(x,2)), func(data(y,2) +
data(y,3))), func(z))
Does anyone know how to do this with a regular expression in C#?
Thanks
Ian H
choose(condition, choose(condition, x, y), z)
which can have any number of choose statements embeded. The parts x, y and z
can themselves contain commas but these will be in brackets e.g
choose(condition, choose(condition, data(x,2), data(y,2) + data(y,3)), z)
For each of the two main arguments to the choose statement I want to replace
the item with some other additional text e.g.
choose(condition, choose(condition, func(data(x,2)), func(data(y,2) +
data(y,3))), func(z))
Does anyone know how to do this with a regular expression in C#?
Thanks
Ian H