mirror of
https://github.com/nushell/nushell.git
synced 2025-06-08 19:17:16 +02:00
# Description Regex search and search with directly provided search terms used to follow two different code paths. Now all possible search options get turned into a regex, with optional additional search options, and handled using a unified code path which mostly follows the logic of the current term code path. # User-Facing Changes Regex search will now behave in the same way as non-regex search: - split multiline strings into lists of lines, and filter out the lines that don't match - highlight matching string sections (unless --no-highlight flag is used) - search through the specified record columns if the --columns flag is used The behavior of non-regex search should be unaffected by this commit.