Problem/Motivation

The WrapperExtract getStringBetween and WrapperRemove deleteStringBetween methods are only covering the first instance of a string. This can be misleading, also, it should make sense to provide optional scope configuration with values first, last or all, with a default value to all.

Example:

  field_acronym:
    plugin: wrapper_extract
    source: name
    open: (
    close: )
    scope: last

Remaining tasks

  • Adapt WrapperExtract getStringBetween
  • Adapt WrapperRemove deleteStringBetween
  • Add the scope configuration in both process plugins

Comments

colorfield created an issue. See original summary.

colorfield’s picture

Issue summary: View changes