Search found 3 matches

by Grahack
08 Jun 2015 03:46
Forum: DOS Batch Forum
Topic: JREPL.BAT v8.6 - regex text processor with support for text highlighting and alternate character sets
Replies: 550
Views: 2167157

Re: JREPL.BAT - regex text processor - successor to REPL.BAT

... After the first parser run in the batch file there is exactly one <LF> between "First line" and "second line". This would produce two lines, but when this is transfer to the child cmd.exe (by the pipe) then the line is parsed again. But then the linefeed is "raw" w...
by Grahack
03 Jun 2015 00:28
Forum: DOS Batch Forum
Topic: JREPL.BAT v8.6 - regex text processor with support for text highlighting and alternate character sets
Replies: 550
Views: 2167157

Re: JREPL.BAT - regex text processor - successor to REPL.BAT

Hi all,
Is JREPL.BAT supposed to work on several lines?
See this test:

Code: Select all

set NLM=^


set NL=^^^%NLM%%NLM%^%NLM%%NLM%
echo First line%NL%second line | jrepl.bat i o

It only prints «Forst lone».
Am I missing something?

chri
by Grahack
25 May 2015 00:42
Forum: DOS Batch Forum
Topic: JREPL.BAT v8.6 - regex text processor with support for text highlighting and alternate character sets
Replies: 550
Views: 2167157

Re: JREPL.BAT - regex text processor - successor to REPL.BAT

Hi all, I can't make jrepl work on several lines. Only the first is printed (see the test below). Is there a switch for jrepl to work on all the lines ? Notes: /A doesn't work either, even though all the lines are altered. I don't want the behavior of /M )I'm using a regex like "^\q(.*)\q$"...