Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a configurable data mapping processor #26

Open
9 tasks
brendanheywood opened this issue Feb 27, 2019 · 0 comments
Open
9 tasks

Add a configurable data mapping processor #26

brendanheywood opened this issue Feb 27, 2019 · 0 comments
Assignees

Comments

@brendanheywood
Copy link
Contributor

This process will take the following config:

  • a source column
  • a target column
  • have an 'ignore case' boolean
  • have an option 'stop at first key match' or 'apply all search and replace in order'
  • a textarea of key value pairs separated by a comma.

This plugin will:

  • auto create the column if it doesn't exist
  • process and replace the key values in the order they are specified
  • when parsing parse it as csv, so the key and or value can contain an escaped , char by " " quoting the key
  • if the key starts and ends with a / then interpret it as a regex. The value can contain regex $1 $2 vars
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants