Menu

#592 Repeating filters

future
closed
None
5
2020-06-09
2015-04-01
Quaraxkad
No

I have a suggestion for an additional non-standard option letter/modifier. Sometimes I have a filter that needs to run multiple times. Typically I will just make X duplicate lines in my filter file and that makes it run X times. Instead, it would be nice if there were an option to specify that a specific filter should be rerun repeatedly until it no longer matches the source (up to a certain number of iterations of course, to prevent infinite loops). It's not a very common need but in some cases it's impossible to re-format things the way I need with a single regex replacement. I've got maybe 5 filters that require it. One of them needs to be repeated up to 100 times, so my filter file has 100 identical lines with the same regex string.

Discussion

  • Fabian Keil

    Fabian Keil - 2020-06-09
    • status: open --> closed
    • assigned_to: Fabian Keil
     
  • Fabian Keil

    Fabian Keil - 2020-06-09

    Supported using external filters.

     

Log in to post a comment.