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, Nov 9, 15:49
Unknown Object (File)
Tue, Nov 5, 10:06
Unknown Object (File)
Sun, Oct 27, 09:53
Unknown Object (File)
Sun, Oct 20, 05:04
Unknown Object (File)
Fri, Oct 18, 05:50
Unknown Object (File)
Oct 10 2024, 16:42
Unknown Object (File)
Oct 10 2024, 16:12
Unknown Object (File)
Oct 8 2024, 23:42
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
Lint Not Applicable
Unit
Tests Not Applicable

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.