nushell/src
Belhorma Bendebiche fbc6f01cfb Add =~ and !~ operators on strings
`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.
2019-11-25 15:06:11 -05:00
..
commands Take all rows having the column present. 2019-11-24 04:35:36 -05:00
data Merge pull request #1003 from andrasio/compact 2019-11-23 22:03:20 -05:00
env --no-edit 2019-11-21 14:22:32 -08:00
evaluate Add =~ and !~ operators on strings 2019-11-25 15:06:11 -05:00
format Revert some of the recent styled string changes 2019-11-24 13:56:19 +13:00
parser Add =~ and !~ operators on strings 2019-11-25 15:06:11 -05:00
plugins --no-edit 2019-11-21 14:22:32 -08:00
shell --no-edit 2019-11-21 14:22:32 -08:00
cli.rs default command introduced. 2019-11-24 04:20:08 -05:00
commands.rs default command introduced. 2019-11-24 04:20:08 -05:00
context.rs --no-edit 2019-11-21 14:22:32 -08:00
data.rs Move internal terminology to tables/rows 2019-09-06 04:23:42 +12:00
env.rs Replace crate visibility identifier with pub(crate) 2019-08-29 13:09:09 +02:00
errors.rs --no-edit 2019-11-21 14:22:32 -08:00
format.rs Replace vtable with pivot command 2019-09-17 19:07:11 +12:00
git.rs chore: omit the entire git.rs file when starship is used 2019-10-09 08:42:46 +01:00
lib.rs Remove fuzzysearch. 2019-11-22 03:25:09 -05:00
main.rs Modernize external parse and improve trace 2019-11-01 08:45:45 -07:00
parser.rs --no-edit 2019-11-21 14:22:32 -08:00
plugin.rs --no-edit 2019-11-21 14:22:32 -08:00
prelude.rs --no-edit 2019-11-21 14:22:32 -08:00
shell.rs run rustfmt 2019-09-11 10:36:50 -04:00
stream.rs Stream support (#812) 2019-10-13 17:12:43 +13:00
traits.rs --no-edit 2019-11-21 14:22:32 -08:00
utils.rs --no-edit 2019-11-21 14:22:32 -08:00