reaction-test-regex(1)
π reaction-test-regex(1) π
okay bestie, so this little icon is part of the reaction crew β General Commands Manual energy, iykyk β and it is literally here to let you test a regex before you commit to it. no cap, it's the vibe check your pattern deserves β¨
πΈ NAME πΈ
reaction-test-regex β Test a regex π
π¦ SYNOPSIS π¦
reaction test-regex <-c|--config> [-h|--help] <REGEX> [LINE]
β¨ DESCRIPTION β¨
So the way this works is: you test a REGEX against one LINE, or β if you're feeling mysterious β against standard input π«Ά. And giving it a configuration file? That permits you to use its patterns in REGEX, which is lowkey the main character move here π
π OPTIONS π
-c,--config<CONFIG> β configuration file in json, jsonnet or yaml format, or a directory containing those files. no skips, no shortcuts β this one is required π₯-h,--helpβ Print help (see a summary with'-h') π<REGEX>β Regex to test β[LINE]β Line to be tested π
fr fr, don't forget the-c/--configβ it's required, so the CLI will be giving you nothing but side-eye without it π
and that's the whole page, bestie β signed off from the test-regex corner of the world, reaction-test-regex(1), slaying as always πππ«Ά
π¦ where this page comes from
- nixos 26.05: reaction 2.6.0
- nixpkgs unstable: reaction 2.6.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms