Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
units: store regex pattern to variable
zsh expects the operand of =~ operator inside [[ ... ]] to be quoted. bash doesn't. To fill the gap between zsh and bash, this change stores the regex pattern to a variable, and refers the variable as the operand. Signed-off-by: Masatake YAMATO <[email protected]>
- Loading branch information