Make regex actually compatible with zsh/bash