Search found 5 matches

by ctm
16 Apr 2020 17:04
Forum: DOS Batch Forum
Topic: JREPL.BAT v8.6 - regex text processor with support for text highlighting and alternate character sets
Replies: 550
Views: 1926642

Re: JREPL.BAT v8.5 - regex text processor with support for text highlighting and alternate character sets

so, I solved my problem sufficiently by using:

Code: Select all

 call _jrepl.bat "! \x22\x22 \x22" "_ \xA7_\xA7 \xA7" /t " " /xseq /UTF /f "%Lineup%|UTF-8|NB" /o "%dr%___lineup.mx|UTF-8|NB"
I trade-off "§ §" for "§_§", which is no problem;
still, I'm curious why "§" creates so much trouble...
by ctm
15 Apr 2020 14:32
Forum: DOS Batch Forum
Topic: JREPL.BAT v8.6 - regex text processor with support for text highlighting and alternate character sets
Replies: 550
Views: 1926642

Re: JREPL.BAT v8.5 - regex text processor with support for text highlighting and alternate character sets

so the line which crashes the script contains the following characters:

Code: Select all

... name="地デジ" isAuto...
if I replace them with something else, the script runs trough...
by ctm
14 Apr 2020 15:20
Forum: DOS Batch Forum
Topic: JREPL.BAT v8.6 - regex text processor with support for text highlighting and alternate character sets
Replies: 550
Views: 1926642

Re: JREPL.BAT v8.5 - regex text processor with support for text highlighting and alternate character sets

ok, so I'm progressing, in a sence: if I apply the following: call _jrepl.bat "! \x22" "_ \xA7" /t "" /xseq /f "%Lineup%|UTF-8|NB" /o "%dr%___lineup.mx" I get from the original.mxf the resulting "___lineup.mx" without BOM which makes some things easier (what still would be nice, is to replace "\x22\...
by ctm
12 Apr 2020 14:37
Forum: DOS Batch Forum
Topic: JREPL.BAT v8.6 - regex text processor with support for text highlighting and alternate character sets
Replies: 550
Views: 1926642

Re: JREPL.BAT v8.5 - regex text processor with support for text highlighting and alternate character sets

Thanks for the very extensive and detailed answer! the \b thing was basically a silly copy-cat error; I saw it somewhere and assumed it is kind of lead-in to the string... the mxf is not a media file but a representation of a database, sort of (the channel listing of the windows media center)... any...
by ctm
11 Apr 2020 17:48
Forum: DOS Batch Forum
Topic: JREPL.BAT v8.6 - regex text processor with support for text highlighting and alternate character sets
Replies: 550
Views: 1926642

Re: JREPL.BAT v8.5 - regex text processor with support for text highlighting and alternate character sets

thanks for the excellent tool ! I need to parse an mxf file within a batch; the mxf contains several special characters which pose a problem for batch: "!", " " " (double quote), ":",... I want to replace them by a harmless characters for subsequent parsing... as a first step I tried to replace "!" ...