preprocessing - allow extracting the number of matches

XMLWordPrintable

    • Type: Change Request
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 4.0.0alpha2
    • Component/s: Server (S)

      item preprocessing allows extracting content, based on regexp. a way to extract the number of matches is desired.

      for example, the apache status page has scoreboard like this :

      Scoreboard: WWWWWW..KW..KL..................................................................................................................................................................................................................................................
      

      here we would have to count the number of occurrences of each letter to know how many processes are in each state.

      a vague idea how this could work - a regexp like this :

      Scoreboard: (W)
      

      would have either some syntax for the output field, or there would be a choice between "output" and "number of matches". the latter would allow to specify which capture group to use. in this example, it would return 7.

            Assignee:
            Andris Zeila
            Reporter:
            richlv
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: