Page MenuHomeDevCentral

list/replace: multi regexp support
AbandonedPublic

Authored by dereckson on Dec 18 2015, 19:03.
Tags
None
Referenced Files
F3606051: D107.id.diff
Sun, Sep 29, 23:53
F3606047: D107.diff
Sun, Sep 29, 23:48
Unknown Object (File)
Sun, Sep 22, 15:35
Unknown Object (File)
Thu, Sep 19, 02:38
Unknown Object (File)
Wed, Sep 18, 16:10
Unknown Object (File)
Mon, Sep 16, 06:56
Unknown Object (File)
Sun, Sep 15, 22:29
Unknown Object (File)
Sun, Sep 15, 19:52
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
master
Build Status
Buildable 127
Build 127: 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.

61

-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.