nushell/crates/nu-protocol/src/engine
JT aab31833a2
Add more pattern types to matcher (#8605)
# Description

Add float, string, and date patterns to matcher.

This could probably use some tests 😅 

# User-Facing Changes

_(List of all changes that impact the user experience here. This helps
us keep track of breaking changes.)_

# Tests + Formatting

Don't forget to add tests that cover your changes.

Make sure you've run and fixed any issues with these commands:

- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect` to check that you're using the standard code
style
- `cargo test --workspace` to check that all tests pass

> **Note**
> from `nushell` you can also use the `toolkit` as follows
> ```bash
> use toolkit.nu # or use an `env_change` hook to activate it
automatically
> toolkit check pr
> ```

# After Submitting

If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
2023-03-25 17:30:35 +13:00
..
call_info.rs Back to working state 2021-09-03 06:21:37 +12:00
capture_block.rs Split blocks and closures (#7075) 2022-11-10 21:21:49 +13:00
command.rs Re-implement aliases (#8123) 2023-02-27 20:44:05 +13:00
engine_state.rs fix: fix commandline when called with no arguments (#8207) 2023-03-16 17:45:35 -05:00
mod.rs Add pattern matching (#8590) 2023-03-24 14:52:01 +13:00
overlay.rs Reduce again the number of match calls (#7815) 2023-01-24 12:23:42 +01:00
pattern_match.rs Add more pattern types to matcher (#8605) 2023-03-25 17:30:35 +13:00
stack.rs Move variables to var stack (#8604) 2023-03-25 12:56:45 +13:00