Closed OkkeKlein closed 8 years ago
What is the parent tag for these reduce tags? Assuming it is <transformer class="com.norconex.importer.handler.transformer.impl.ReduceConsecutivesTransformer" ...>
then yes it should work.
Can you attach a sample document and the entire transformer config snippet?
My guess is this didn't work because the regex would have to be multiline or something. I fixed it by transforming /n and /r to whitespace and then do a reduce with \s.
Works for me.
Works as designed if one uses it as a postParseHandler.
My parsed content has a lot of CRLF I am trying to clean up. Should
be working or is the \r\n not supported?