in reply to Reguar expressions and french characters
Hope that helps ^^#!/usr/bin/perl my $string = 'is that a téléphone?'; my $matches = 0; $matches++ if ($string =~ m/téléphone/); # match it & count print "Content-type: text/html\n\n"; print "<html>Current: $string<hr>$matches</html>\n";
|
|---|