Trying to figure out why I'm not hitting INCLUDE below. If I remove the ^, it works. But I want to make sure the line starts with /TestLine. The Regex analyzer indicates a match.
@echo off
setlocal
set xdata=/TestLine this is a test line
iff %@regex[^/TestLine, %xdata] == 1 then
echo INCLUDE -- %xdata
else
echo EXCLUDE -- %xdata
endiff
endlocal
@echo off
setlocal
set xdata=/TestLine this is a test line
iff %@regex[^/TestLine, %xdata] == 1 then
echo INCLUDE -- %xdata
else
echo EXCLUDE -- %xdata
endiff
endlocal