Message280103
| Author |
xiang.zhang |
| Recipients |
Carl Ekerot, loewis, serhiy.storchaka, xiang.zhang |
| Date |
2016年11月05日.07:37:11 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1478331431.71.0.243836105417.issue28563@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> gettext.c2py("n()")(lambda: os.system("sh"))
> gettext.c2py("1()")(0)
Empty parentheses should be disallowed. Function calls are not allowed in plural expression. And non-integer argument should be disallowed either, just as Serhiy's example shows.
> What if make repeated replacements with regular expression r'([^?:]*?)\?([^?:]*?):([^?:]*)'?
How does it work for '1?2:3?4:5'? :-( I am considering a parser. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2016年11月05日 07:37:11 | xiang.zhang | set | recipients:
+ xiang.zhang, loewis, serhiy.storchaka, Carl Ekerot |
| 2016年11月05日 07:37:11 | xiang.zhang | set | messageid: <1478331431.71.0.243836105417.issue28563@psf.upfronthosting.co.za> |
| 2016年11月05日 07:37:11 | xiang.zhang | link | issue28563 messages |
| 2016年11月05日 07:37:11 | xiang.zhang | create |
|