我有一个3000行的po文件,我需要基本上交换两个线条模式,如下所示。我想将包含 msgid 的字符串剪切到剪贴板中,然后将它们粘贴到msgstr下面一行以交换它们的位置。
msgid "Detalles del aporte"
msgstr "Contribution details"
#: controller/admin.php:66
msgid "Cambiando el estado al aporte"
msgstr "Contribution details"
#: controller/admin.php:67
msgid "Aporte manual"
msgstr "Manual contribution"
#: controller/admin.php:68
msgid "Reubicando el aporte"
msgstr "Relocating the contribution"
#: controller/admin.php:69
msgid "Ejecución del cargo"
msgstr "Realisation of charge"
到目前为止,我已经使用了以下表达式
(m(sgid\s)([A-Za-z,;'"\\s])$")
但是在此之后我无法继续进行,我怎么能与文本的其余部分相匹配?