Sure. I think you need to stringify each line and do the regex search, the difficulty will be to map the result back to the cells for highlighting, but you could do that just by repeating the stringify process until you meet the cell that matches the start point of the search.
On Mon, 11 Nov 2019, 20:16 Anindya Mukherjee, <[email protected]> wrote: > Hi, I often find myself typing regular expressions in copy mode search > only to realise that they are not supported. Of course, one could just > rerun the command with grep or similar, i.e., there is often a workaround. > However, I wonder how desirable is it to have regexp support directly in > tmux. I for one would find it useful. > > I'd love to give it a try if no one is working on it! It seems the current > search is matching grid cell by cell, essentially char by char. So it might > not be trivial. I noticed it's a "medium" todo. Thoughts? > > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "tmux-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/tmux-users/CAN%2Bi5iN5LKAmoqasRJGe9yQVymQXW_0cxr64PuvCfTwwBMrpEQ%40mail.gmail.com > <https://groups.google.com/d/msgid/tmux-users/CAN%2Bi5iN5LKAmoqasRJGe9yQVymQXW_0cxr64PuvCfTwwBMrpEQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/tmux-users/CAEdLfcGyHaFnfgHmNHwYVxsbuqGFK8q0RVxCskbB3JpY-szDiA%40mail.gmail.com.
