I am a string with some digits 1024 1024. Instead of assigning the regex to a variable ( $pat ) we could also do: [[ $s =~ [^0-9]+([0-9]+) ]]. Explanation.
確定! 回上一頁