You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a "\n literal is not allowed" error is reported, ripgrep will now
suggest the use of the -U/--multiline flag, which enables matching
newlines.
Fixes#1055
When a "\n literal is not allowed" error is reported, ripgrep will now
suggest the use of the -U/--multiline flag, which enables matching
newlines.
Fixes#1055
What version of ripgrep are you using?
ripgrep 0.10.0
-SIMD -AVX (compiled)
+SIMD +AVX (runtime)
How did you install ripgrep?
cargo install
Describe your question, feature request, or bug.
I tried this regex today:
rg '=> \{\n *break;'
. The output is:the literal '"\n"' is not allowed in a regex
I would expect this error to suggest passing
-U
to enable multiline mode, in which that pattern would be allowed.The text was updated successfully, but these errors were encountered: