Page MenuHomeDevCentral

list/replace: multi regexp support
AbandonedPublic

Authored by dereckson on Dec 18 2015, 19:03.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 5, 11:28
Unknown Object (File)
Tue, Nov 5, 10:06
Unknown Object (File)
Sun, Oct 27, 09:53
Unknown Object (File)
Sat, Oct 26, 08:01
Unknown Object (File)
Thu, Oct 24, 03:40
Unknown Object (File)
Sun, Oct 20, 07:56
Unknown Object (File)
Oct 15 2024, 17:56
Unknown Object (File)
Oct 14 2024, 21:07
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.

Fixes T626.

Test Plan

Diff Detail

Repository
rTOOLS Nasqueron Tools
Lint
No Lint Coverage
Unit
No Test Coverage
Branch
lists-replace-multiregex
Build Status
Buildable 132
Build 132: 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.
dereckson added inline comments.
lists/RegexpFactory.php
39

Two ideas: (i) assign (ii) check, so a whiteline would be nice.

71–74

-s

dereckson marked an inline comment as done.
dereckson edited edge metadata.

Adress D107#1771 comments

dereckson planned changes to this revision.EditedDec 18 2015, 19:12

UI part is pending.

dereckson edited edge metadata.

We offer in another file the replace-multi script to allow to play with it.

We need to solve the permanent link issue, and ensure no character break the textarea.

UI changes doesn't work really well.