non printable (moving away from Perl)

Fillmore fillmore_remove at hotmail.com
Thu Mar 10 19:07:25 EST 2016


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;}
:)



More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /