摘要:
原文链接:https://blog.csdn.net/taiyang1987912/article/details/39551385 https://www.runoob.com/w3cnote/linux-shell-brackets-features.html 阅读全文
摘要:
# shell 数字不支持\d ,只能使用[0-9] if [[ "abcyyy13554221547HelloxxxWorld" =~ yyy([0-9]{11})(Hello)xxx(.*) ]] then echo The regex matches! echo $BASH_REMATCH e 阅读全文