nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From idioma <corda.ila...@gmail.com>
Subject ExtractText Usage
Date Fri, 29 Apr 2016 13:31:52 GMT
Hi,
in a process converting .dsv files into Json, I would like to ExtractText to
match all columns' names and extract the columns' values. Is that possible?
I have tried a simple test when I am simply matching the column name by
setting a new property called regex.1 = $filename:find('Heading1')} and
another called heading1 that maps to regex.1. This was a simple test and I
was supposed to be able to extract Heading1, but instead I am returning with
an error with saying "Regex is required to have between 1 and 40 Capturing
Group, but have 0' . How should I use regular expressions in NiFi? Is this
feasible to use ExtractText to match the required columns' values by column
name? 

Thank you



--
View this message in context: http://apache-nifi-developer-list.39713.n7.nabble.com/ExtractText-Usage-tp9726.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.

Mime
View raw message