mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-05-19 09:40:22 -07:00
parent
87b33c96c0
commit
3bb71b0cb8
@ -875,8 +875,8 @@ Print the 0-based byte offset within the input file before each line of output.
|
|||||||
If -o (--only-matching) is specified, print the offset of the matching part
|
If -o (--only-matching) is specified, print the offset of the matching part
|
||||||
itself.
|
itself.
|
||||||
|
|
||||||
If ripgrep does transcoding, then the byte offset is in terms of the the result
|
If ripgrep does transcoding, then the byte offset is in terms of the result of
|
||||||
of transcoding and not the original data. This applies similarly to another
|
transcoding and not the original data. This applies similarly to another
|
||||||
transformation on the source, such as decompression or a --pre filter. Note
|
transformation on the source, such as decompression or a --pre filter. Note
|
||||||
that when the PCRE2 regex engine is used, then UTF-8 transcoding is done by
|
that when the PCRE2 regex engine is used, then UTF-8 transcoding is done by
|
||||||
default.
|
default.
|
||||||
@ -970,7 +970,7 @@ or, equivalently,
|
|||||||
|
|
||||||
rg --colors 'match:bg:0x0,0x80,0xFF'
|
rg --colors 'match:bg:0x0,0x80,0xFF'
|
||||||
|
|
||||||
Note that the the intense and nointense style flags will have no effect when
|
Note that the intense and nointense style flags will have no effect when
|
||||||
used alongside these extended color codes.
|
used alongside these extended color codes.
|
||||||
"
|
"
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user