mirror of
				https://github.com/BurntSushi/ripgrep.git
				synced 2025-10-30 23:17:47 +02:00 
			
		
		
		
	| @@ -147,7 +147,7 @@ impl JSONBuilder { | ||||
| /// is not limited to UTF-8 exclusively, which in turn implies that matches | ||||
| /// may be reported that contain invalid UTF-8. Moreover, this printer may | ||||
| /// also print file paths, and the encoding of file paths is itself not | ||||
| /// guarnateed to be valid UTF-8. Therefore, this printer must deal with the | ||||
| /// guaranteed to be valid UTF-8. Therefore, this printer must deal with the | ||||
| /// presence of invalid UTF-8 somehow. The printer could silently ignore such | ||||
| /// things completely, or even lossily transcode invalid UTF-8 to valid UTF-8 | ||||
| /// by replacing all invalid sequences with the Unicode replacement character. | ||||
|   | ||||
| @@ -1594,7 +1594,7 @@ impl<'a, M: Matcher, W: WriteColor> StandardImpl<'a, M, W> { | ||||
|     /// multiple lines. | ||||
|     /// | ||||
|     /// Note that this doesn't just return whether the searcher is in multi | ||||
|     /// line mode, but also checks if the mater can match over multiple lines. | ||||
|     /// line mode, but also checks if the matter can match over multiple lines. | ||||
|     /// If it can't, then we don't need multi line handling, even if the | ||||
|     /// searcher has multi line mode enabled. | ||||
|     fn multi_line(&self) -> bool { | ||||
|   | ||||
| @@ -508,7 +508,7 @@ impl<'p, 's, M: Matcher, W: WriteColor> SummarySink<'p, 's, M, W> { | ||||
|     /// multiple lines. | ||||
|     /// | ||||
|     /// Note that this doesn't just return whether the searcher is in multi | ||||
|     /// line mode, but also checks if the mater can match over multiple lines. | ||||
|     /// line mode, but also checks if the matter can match over multiple lines. | ||||
|     /// If it can't, then we don't need multi line handling, even if the | ||||
|     /// searcher has multi line mode enabled. | ||||
|     fn multi_line(&self, searcher: &Searcher) -> bool { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user