diff --git a/saynul.html b/saynul.html
index 14637d9..63afe22 100644
--- a/saynul.html
+++ b/saynul.html
@@ -30,7 +30,7 @@
var s_hostname = punycode.toUnicode(location.host)
var s_txt = s_hostname.replace("." + s_base_domain, s_replace);
- var apostrophe = s_txt.match(/(l)\./);
+ var apostrophe = s_txt.match(/\.(l)\.|^(l)\./);
if (apostrophe){
s_txt = s_txt.replace(/l\./, "l'");
}
diff --git a/stoi.html b/stoi.html
index 8d0cdba..74e43a4 100644
--- a/stoi.html
+++ b/stoi.html
@@ -30,7 +30,7 @@
var s_hostname = punycode.toUnicode(location.host)
var s_txt = s_hostname.replace("." + s_base_domain, "");
- var apostrophe = s_txt.match(/(l)\./);
+ var apostrophe = s_txt.match(/\.(l)\.|^(l)\./);
if (apostrophe){
s_txt = s_txt.replace(/l\./, "l'");