Page MenuHomeDevCentral

list/replace: multi regexp support
ClosedPublic

Authored by dereckson on Dec 19 2015, 17:35.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 28, 11:32
Unknown Object (File)
Mon, Sep 9, 10:37
Unknown Object (File)
Mon, Sep 9, 10:37
Unknown Object (File)
Sun, Sep 1, 08:16
Unknown Object (File)
Aug 30 2024, 02:40
Unknown Object (File)
Aug 30 2024, 02:39
Unknown Object (File)
Aug 30 2024, 02:39
Unknown Object (File)
Aug 30 2024, 02:26
Subscribers
None

Details

Summary

The fields expression and replacement are now handled a list of
expressions/replacements, delimited by new lines.

This allow to perform several regexp replacements in one operation.

This change affects only back-end code. A temptative UI change lives
at D107 but doesn't give satisfaction, as to change between a input
box (to get history) and a textarea (to encode seval expressions) is
rather tricky. A proper combobox/textarea control is needed. If the
UI uses React, it would also be easier to implement his, as we have
the state of the widget distinct of the representation.

Test Plan

live test at D107

Diff Detail

Repository
rTOOLS Nasqueron Tools
Lint
No Lint Coverage
Unit
No Test Coverage
Branch
multi
Build Status
Buildable 135
Build 135: arc lint + arc unit

Event Timeline

dereckson retitled this revision from to list/replace: multi regexp support.
dereckson updated this object.
dereckson edited the test plan for this revision. (Show Details)
dereckson added a reviewer: dereckson.
This revision is now accepted and ready to land.Dec 19 2015, 17:36
This revision was automatically updated to reflect the committed changes.