explore regex

For viewers.

Launch a TUI to create and explore regular expressions interactively.

Command Type

built-in

Signature

> explore regex {flags}

Input/output types:

input output
nothing string
string string

Examples

Explore a regular expression interactively

> explore regex

Explore a regular expression interactively with sample text

> open -r Cargo.toml | explore regex

Notes

Press Ctrl-Q to quit and provide constructed regular expression as the output. Supports AltGr key combinations for international keyboard layouts.

Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.