Menu

#98 Allow search matches to span multiple lines

Version 5
open
nobody
None
7
2022-12-27
2015-06-10
Anonymous
No

Right now when searching text and using regular expressions, and searching for line breaks or carriage returns, no results are returned.

Also, when using grep tools with regular expressions, there always is an option to allow a dot (.) to match newlines.

This is an important feature that needs to be added.

Discussion

  • Jackslade

    Jackslade - 2016-03-03

    Just for information, the current implemenation of the search process reads by line which removes this ability by the regular expression engine.

    This item is a placeholder to add the option to read in the contents in whole instead of by line.

     
  • Anonymous

    Anonymous - 2018-07-29

    me too! multiline is a must have in such tool and would make it perfect! :)

     
  • Jackslade

    Jackslade - 2019-01-31
    • Group: Request --> Version 5
     
  • Anonymous

    Anonymous - 2019-10-03

    Am new to AstroGrep. Was pumped about using regex on XML logs. Tried using "(?s)<s:body\>.*?<\/s:Body>" and got nothing back. As I know just enough about regex to Google what I need when I need to build something, I spent a good hour thinking I was doing soemthing wrong and trying variations. Ended up checked it on https://regexr.com/ to make sure I wasn't and it worked correctly there and then dug and found this work item. You might want update the docs to say you DON'T fully implement the MS regex spec until this is resolved to save some people headaches.</s:body\>

     

Anonymous
Anonymous

Add attachments
Cancel