Get help with installation and running here.
Moderators: DataMystic Support, Moderators
-
DFH
- Posts: 967
- Joined: Sun Dec 09, 2007 2:49 am
- Location: UK
Post
by DFH » Mon Apr 27, 2020 11:38 pm
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
-
DataMystic Support
- Site Admin
- Posts: 2230
- Joined: Mon Jun 30, 2003 12:32 pm
- Location: Melbourne, Australia
-
Contact:
Post
by DataMystic Support » Tue Sep 29, 2020 7:01 pm
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])(.)]