Il 29/08/2011 17:47, Adam D. Barratt ha scritto: > As I understand the intent, the following appears to match more closely: > >>>> msg = "a|b|c[y/n]hello" >>>> print findall("[[(](\S+)/\S+[])]", msg) > ['y'] Looking more closely, your regex is simpler, and even more robust. Thanks for the hint! Would it be OK to upload with the suggested regex? That would require fixing in unstable too, I could commit change in trunk, so next unstable upload would address that as well. > Are there actually any translations using parentheses rather than > brackets as delimiters? Not that I'm aware of, at the moment. I also looked at more recent translations, and everything uses brackets. -- .''`. : :' : Luca Falavigna <dktrkranz@debian.org> `. `' `-
Attachment:
signature.asc
Description: OpenPGP digital signature