help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

case with regex support


From: Peng Yu
Subject: case with regex support
Date: Wed, 30 Oct 2019 12:19:21 -0500

Hi,

I currently use globbing with `case` to first catch patterns and then
use `if` and `[[ =~ ]]` to deal with regex matching. But it would be
convenient to directly use regex in `case`. Is this possible?

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]