Some notes to be able to construct a small program able to apply a regex to translated string of a po file
Will be done certainly in python:
- polib python module to be able to handle the po files seems quite simple to use according to the Quick start guide. In addition polib is included in Debian repository.
- Finally the python regex module re. The official Howto on regex in python. The regex are not set as in perl but with a regex, the on the perl regex the two parts could be extract easily.
- command line arguments parse with argparse as usual