<d:entry id="make up ones mind" d:title="make up one's mind" d:parental-control="1"> % W) U8 m! S* ~+ m
<a href="x-dictionary:r:make up ones mind"><b>make up one's mind</b></a></h4>
$ J$ j; d) J K
) b, X7 }9 |8 H7 p8 U4 K9 p希望将红色词组里的空格替换为“_") h" j4 H* O0 c
即<d:entry id="make up ones mind" ===> <d:entry id="make_up_ones_mind"6 L6 `/ G% J# t4 K' K' ?, T1 w" d- b6 A- |& e
<a href="x-dictionary:r:make up ones mind" ===> <a href="x-dictionary:r:make_up_ones_mind">2 b. `1 o8 D4 v6 [( x
不知道能否实现,sed或者正则都可以。