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

Rule builder regex options leave behind traces of options not selected #10389

Closed
mvdbeek opened this issue Oct 9, 2020 · 0 comments
Closed
Labels

Comments

@mvdbeek
Copy link
Member

mvdbeek commented Oct 9, 2020

Not a great description, but if you open the rule builder and you select add a column using regex and then you select Create column from expression replacement and enter nothing there and then you select one of the other options and look at the rule you get this JSON, which fails:

{
  "rules": [
    {
      "type": "add_column_regex",
      "target_column": 0,
      "expression": ".*",
      "replacement": "\u0000",
      "group_count": 1
    }
  ],
  "mapping": []
}

replacement: should not be in the rule

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant