Message97082
| Author |
jjdmol2 |
| Recipients |
ferringb, jjdmol2 |
| Date |
2009年12月31日.09:10:35 |
| SpamBayes Score |
0.00045706148 |
| Marked as misclassified |
No |
| Message-id |
<1262250636.68.0.794284185992.issue7611@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Attached a program which shows the relevant behaviour:
import shlex
tests = [ "foo#bar", "foo #bar" ]
for t in tests:
print "%s -> %s" % (t,[x for x in shlex.shlex(t,posix=True)])
results in
$ python lexer_test.py
foo#bar -> ['foo']
foo #bar -> ['foo']
(expected of course is ['foo#bar'] on the first line). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年12月31日 09:10:36 | jjdmol2 | set | recipients:
+ jjdmol2, ferringb |
| 2009年12月31日 09:10:36 | jjdmol2 | set | messageid: <1262250636.68.0.794284185992.issue7611@psf.upfronthosting.co.za> |
| 2009年12月31日 09:10:35 | jjdmol2 | link | issue7611 messages |
| 2009年12月31日 09:10:35 | jjdmol2 | create |
|