X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=yarrg%2Fweb%2Fcheck_capitalstring;h=24617d70c32c4d195099a98015bc11a65d1bec0f;hb=5d7aa1e2df29f74f0fbaa8dcb21fa1f7921f30a8;hp=53aceecd975dcfacd3255f2cbbd51f8d29e04a29;hpb=6302552bfa5844eddb7c26386c9995733f0a5174;p=ypp-sc-tools.db-test.git diff --git a/yarrg/web/check_capitalstring b/yarrg/web/check_capitalstring index 53aceec..24617d7 100644 --- a/yarrg/web/check_capitalstring +++ b/yarrg/web/check_capitalstring @@ -53,7 +53,7 @@ if (!m/\S/) { $capital= $1; $canon= "$capital PoE"; } else { - expected_error("Cannot understand capital \`$_'."); + expected_error("Cannot understand capital ".escerrq($_)."."); } return ($canon,$capital);