mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 14:40:06 +02:00
Change str replace
to match substring by default (#10038)
This commit is contained in:
@ -203,7 +203,7 @@ fn regex_error_in_pattern() {
|
||||
cwd: dirs.test(), pipeline(
|
||||
r#"
|
||||
'source string'
|
||||
| str replace 'source \Ufoo' "destination"
|
||||
| str replace -r 'source \Ufoo' "destination"
|
||||
"#
|
||||
));
|
||||
|
||||
|
Reference in New Issue
Block a user