hgbook
diff it/examples/ch09-check_whitespace.py.lst.it @ 917:93154fbaae9b
Merge with http://bitbucket.org/dukebody/hgbook-alqua/
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Tue Oct 27 21:31:06 2009 -0700 (2009-10-27) |
parents | 26b05b7dd445 |
children | 719b03ea27c8 |
line diff
1.1 --- a/it/examples/ch09-check_whitespace.py.lst.it Thu Aug 13 18:57:50 2009 +0200 1.2 +++ b/it/examples/ch09-check_whitespace.py.lst.it Tue Oct 27 21:31:06 2009 -0700 1.3 @@ -27,7 +27,7 @@ 1.4 numriga = int(m.group(1)) 1.5 continue 1.6 # corpo - cerca una riga aggiunta con spazio bianco in coda 1.7 - m = re.match(r'\+.*\s$', riga) 1.8 + m = re.match(r'\+.*[ \t]$', riga) 1.9 if m: 1.10 yield nomefile, numriga 1.11 if riga and riga[0] in ' +':