有什么辦法告訴sed只輸出捕獲的組嗎?例如,給定輸入:This is a sample 123 text and some 987 numbers和模式:/([\d]+)/我只能以反向引用的格式獲得123和987輸出嗎? 查看完整描述