NiFi Ingest 24.4
NiFi Ingest

# InvalidRegexAfterMatch

A regular expression that cannot form part of the valid match for a pre-filter.

When Eduction runs a pre-filter task, it finds a potential match and creates a match window by selecting characters before and after the potential match (you configure the size of the match window by using WindowCharsAfterMatch and WindowCharsBeforeMatch). You can use `InvalidRegexAfterMatch` to specify a pattern that definitely cannot form part of a valid match. When Eduction finds something that matches this non-valid pattern in the match window after the potential match, it truncates the match window to exclude the non-valid pattern and any text after it.

For example, if you know that your pattern can only include space characters, letters, and numbers, you can use the following setting to truncate the match window if Eduction finds anything else:

`InvalidRegexAfterMatch=[^ \p{L}\p{N}]`

Type: | String
Default: |
Required: | No
Configuration Section: | MyPreFilterTask
Example: | `InvalidRegexAfterMatch=[^ \p{L}\p{N}]`
See Also: | Regex ResourceFile WindowCharsAfterMatch WindowCharsBeforeMatch

Copyright 2018-2024 Open Text
Version 24.4 | Last updated September 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL NiFi Ingest 24.4

Topic Title: InvalidRegexAfterMatch