, but an error was never detected. The m/\X/ detects the invalid byte, because it returns displays the malformed character message, but did not fail. I should have mentioned that this is version 5.6.1.if ( $str_read_buf =~ m/^\X/ ) { # do success stuff } else { # fail stuff # processing never gets here }
In reply to Re: Re: UTF8 matches
by Anonymous Monk
in thread UTF8 matches
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |