On Mon, 14 Aug 2017 01:04:36 +0200, Martin Quinson wrote: > On Sun, Aug 13, 2017 at 12:25:54PM -0400, gregor herrmann wrote: > > What po4a could maybe do is to mention in the documentation that the > > string in "position=something" in addendums will be interpreted as a > > Perl regexp later. > It's already the case: > > position (mandatory) > a Perl regexp. The addendum will be placed near the line matching > this regexp. Note that we're speaking about the translated > document here, not the original. If more than a line match this > expression (or none), the addition will fail. It is indeed better > to report an error than inserting the addendum at the wrong > location.
Excellent, thanks, and sorry for not checking beforehand. > (I just added "Perl" in the first sentence, but the doc is otherwise > unchanged) If it's not explicit enough, please tell me how I could > improve it. I think it's fine this way. Cheers, gregor -- .''`. https://info.comodo.priv.at/ - Debian Developer https://www.debian.org : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06 `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Fleetwood Mac: Don't Stop
signature.asc
Description: Digital Signature

