1
0
mirror of https://github.com/nushell/nushell.git synced 2025-04-15 00:38:19 +02:00
Commit Graph

4 Commits

Author SHA1 Message Date
Jason Gedge
0a6692ac44
Simplify parse plugin code. ()
Primarily, instead of building a parse pattern enum, we just build the regex
directly, with the appropriate capture group names so that the column name
codepaths can be shared between simple and `--regex` patterns.

Also removed capture group count compared to column name count. I don't think
this codepath can possibly be reached with the regex we now use for the
simplified capture form.
2020-05-28 09:58:06 -04:00
Oleksii Filonenko
9e6ab33fd7
Add --regex flag to parse () 2020-05-22 10:13:58 -04:00
John Erickson
d1b1438ce5
Check capture group count () 2020-05-17 14:52:17 -04:00
Jonathan Turner
076fde16dd
Evaluation of command arguments ()
* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* Finish adding the baseline refactors for argument invocation

* Finish cleanup and add test

* Add missing plugin references
2020-05-16 15:18:24 +12:00