in reply to Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: regex for utf-8
in thread regex for utf-8
I'm sure lots of people have, though maybe not that exact problem. Here is how to do what the Java program does on one line on the command-line prompt:
(change the quotes to suit your shell and OS. "" on Windows, usually '' on Unix)perl -Mutf8 -ne"print if /[^\0-\x7f]/"
So, no need to wade through public static void main... the Perl program's already finished by then.
—John
|
|---|