Page MenuHomeDevCentral

list/replace: multi regexp support
ClosedPublic

Authored by dereckson on Dec 19 2015, 17:35.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 10, 13:21
Unknown Object (File)
Mon, Dec 9, 22:33
Unknown Object (File)
Thu, Dec 5, 22:19
Unknown Object (File)
Wed, Nov 27, 15:09
Unknown Object (File)
Wed, Nov 27, 15:00
Unknown Object (File)
Sat, Nov 23, 14:34
Unknown Object (File)
Fri, Nov 22, 21:40
Unknown Object (File)
Nov 9 2024, 15:49
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.