Yes that's how it works at the moment. On Mon, 11 Nov 2019 at 20:59, Anindya Mukherjee <[email protected]> wrote: > > Thank you! Also, I noticed that if I have a line which wraps thereby breaking > up a string, then the search in copy mode does not find it, as a result of > the line by line approach to searching. When the pane or window is resized to > accommodate the string all on a single line, search finds and highlights it. > This is a bit counter intuitive; if this was vi or less with a narrow display > the string would still be found. > > On Mon, Nov 11, 2019 at 12:34 PM Nicholas Marriott > <[email protected]> wrote: >> >> 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.
-- 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/CAEdLfcFBXg%3DTBUNbBheBWCYzg9PLQiFqQGtzV1Dof2N5JtC%3DcQ%40mail.gmail.com.
