mirror of
https://github.com/danbulant/nushell
synced 2026-05-21 13:28:51 +00:00
`left =~ right` return true if left contains right, using Rust's `String::contains`. `!~` is the negated version. A new `apply_operator` function is added which decouples evaluation from `Value::compare`. This returns a `Value` and opens the door to implementing `+` for example, though it wouldn't be useful immediately. The `operator!` macro had to be changed slightly as it would choke on `~` in arguments. |
||
|---|---|---|
| .. | ||
| lib.rs | ||
| meta.rs | ||
| pretty.rs | ||
| term_colored.rs | ||
| text.rs | ||
| tracable.rs | ||