DEV Community

loading...

Discussion on: linux : bash script conditions

Collapse
zakiarsyad profile image
Zaki Arrozi Arsyad Author

Nice catch man, thanks.
Updated. That regex should work with double brackets [[ STRING =~ PATTERN ]]