Search with regex and text emphasis
By Sébastien Helleu on Saturday, August 17 2013, 16:40 - core - Permalink
When searching text in buffer (with Ctrl+R), the matching text in lines is now emphasized, even if there are color codes in the line.
The search has been improved: it is now possible to search with a regular expression, and select where to search: in messages (default), prefixes or prefixes+messages.
The default key for search is still Ctrl+R and keys have been added/changed in the search context:
- Ctrl+R: switch search type: string/regex
- Alt+c: switch exact case for search
- Tab: switch search in messages/prefixes
The new search prompt in input bar looks like this: [Search (~ str,msg)]
Short description of content:
~
: case insensitive search (default)==
: case sensitive searchstr
: search string (default)regex
: search regular expressionmsg
: search in messages (default)pre
: search in prefixespre|msg
: search in prefixes and messages
Happy search!