Quantcast
Channel: voidtools forum
Viewing all articles
Browse latest Browse all 2710

Support • Re: ES.EXE, Regex & (^) start of string ?

$
0
0
ok, so it was my BATCH files
which were eating the ^


go.bat, with a search of,
regex:^^red-0.\.
:

Code:

ECHO %*ECHO "%*"
Results:

regex:red-0.\.
"regex:^red-0.\."

now, the ECHO, with QUOTES, is "OK" - as far as that goes
but when it gets to the actual ES.EXE command-line, i'm wrong, again

ES.BAT, without quotes:
@es.ex2 -instance 15 %*
- gives erroneous results, cause the ^ was stripped

ES.BAT, with quotes:
@es.ex2 -instance 15 "%*"
- gives no results, & if not for that, it might be fine, heh ;-)

i'll have to mess with this again, later...


Batch character escaping
How-to: Escape Characters, Delimiters and Quotes at the Windows command line.
Debugging your batch files

And I suppose I ought to revisit, ES, how to ESCape | passed to a BAT file?.

Statistics: Posted by therube — Fri Sep 26, 2025 2:31 pm



Viewing all articles
Browse latest Browse all 2710

Latest Images

Trending Articles



Latest Images