Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Quoting @Function parameters?

May
12,834
163
The lines in quotes1/txt contain HTML tags. The command below fails miserably if I don't quote %l in @REGEX but such quoting is not needed in @REREPLACE. In fact. if I quote %l in @REREPLACE it doesn't work correctly; the quotes are treated as part of the string. What's the difference? Is there some rule at play that will make remembering what's needed easier?
Code:
v:\> do l in @quotes1.txt ( if %@regex["class.*SmallDataHeader","%l"] == 1 echo %@rereplace[".*right>|</td>",,%l]
)
122.92
122.92
122.92
 

Similar threads

Back
Top