non printable (moving away from Perl)
Fillmore
fillmore_remove at hotmail.com
Thu Mar 10 19:07:25 EST 2016
More information about the Python-list mailing list
Thu Mar 10 19:07:25 EST 2016
- Previous message (by thread): Other difference with Perl: Python scripts in a pipe
- Next message (by thread): non printable (moving away from Perl)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Here's another handy Perl regex which I am not sure how to translate to
Python.
I use it to avoid processing lines that contain funny chars...
if ($string =~ /[^[:print:]]/) {next OUTER;}
:)
- Previous message (by thread): Other difference with Perl: Python scripts in a pipe
- Next message (by thread): non printable (moving away from Perl)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list