Search found 5 matches

by Michael.Uray
15 Oct 2018 14:33
Forum: DOS Batch Forum
Topic: JREPL.BAT v8.5 - regex text processor with support for text highlighting and alternate character sets
Replies: 448
Views: 294610

Re: JREPL.BAT v7.14 - regex text processor now with Unicode and XRegExp support

I had to replace the variable assignment to the command to run it, but it does not create the expected output. call jrepl "%find%" "%repl%" /t "|" /jmatchq /jbeg init /v /u /f input.pdf /o output.pdf No, the find and repl must not be enclosed by percents in the JREPL call. Hmm, I had to add that ag...
by Michael.Uray
15 Oct 2018 07:05
Forum: DOS Batch Forum
Topic: JREPL.BAT v8.5 - regex text processor with support for text highlighting and alternate character sets
Replies: 448
Views: 294610

Re: JREPL.BAT v7.13 - regex text processor now with Unicode and XRegExp support

Upon looking closer at your original code, it looks like you are trying to remove all the objects that contain "/Name /Paragraph". This is correct. I had to replace the variable assignment to the command to run it, but it does not create the expected output. call jrepl "%find%" "%repl%" /t "|" /jma...
by Michael.Uray
13 Oct 2018 03:07
Forum: DOS Batch Forum
Topic: JREPL.BAT v8.5 - regex text processor with support for text highlighting and alternate character sets
Replies: 448
Views: 294610

Re: JREPL.BAT v7.13 - regex text processor now with Unicode and XRegExp support

Squashman wrote:
12 Oct 2018 20:03
You are using the /M option. You are limited to 2GB of ram for 32 bit applications.
I need to parse multi line files like this https://regex101.com/r/fA6wE2/155 to search for objects which contain "Name /Paragraph".
The file has about 1.5 GB.

Any idea how to get around this issue?
by Michael.Uray
12 Oct 2018 19:10
Forum: DOS Batch Forum
Topic: JREPL.BAT v8.5 - regex text processor with support for text highlighting and alternate character sets
Replies: 448
Views: 294610

Re: JREPL.BAT v7.13 - regex text processor now with Unicode and XRegExp support

I got the message JScript runtime error: Nicht genügend Arbeitsspeicher. (means not enough RAM / memory) when I did run a regex search/replace: JREPL.BAT "^\d+ 0 obj \n(?:(?!endobj $).*\n)*?\/Name \/Paragraph(?:.*\n)*?endobj ?$" "" /F input.pdf /M /O output.pdf It happens when the cscript.exe proces...