Misleading log output lines

Get help with installation and running here.

Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators

Post Reply
dfhtextpipe
Posts: 986
Joined: Sun Dec 09, 2007 2:49 am
Location: UK

Misleading log output lines

Post by dfhtextpipe »

When the Replace filter is used to Send variable N to subfilter the corresponding log output line is:
2020-04-27 14:29:24,Info, 0 replace(s) performed, 150 skipped for pattern match [^<chapter( osisID="Ps\.\d+)">]
2020-04-27 14:29:24,Info, Capture text to variable @osisID
It seems to me that "150 skipped" is simply wrong.
It should have output "150 pattern matches were processed".

David
David
User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Misleading log output lines

Post by DataMystic Support »

Hi David - can you please provide your filter and test data for this?

I tried this on the sample trial input text:

Code: Select all

Perl pattern [([aeiou])(.)] and Send variable 2 to subfilter
|  [ ] Match case
|  [ ] Whole words only
|  [ ] Case sensitive replace
|  [ ] Prompt on replace
|  [ ] Skip prompt if identical
|  [ ] First only
|  [ ] Extract matches
|      Maximum text buffer size 4096
|  [ ] Maximum match (greedy)
|  [ ] Allow comments
|  [X] '.' matches newline
|  [X] UTF-8 Support
|
|--Add left margin [[]
|   
+--Add right margin []]
    
And it worked fine for me.

Code: Select all

Info	2020-09-29 18:59:54	93 replace(s) performed for pattern match [([aeiou])(.)]
Post Reply