in reply to Reguar expressions and french characters

Here is a regex that matches "téléphone"
#!/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";
Hope that helps ^^