summaryrefslogtreecommitdiff
path: root/lualibs-string.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-06-04 22:40:17 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-06-04 22:40:17 +0200
commitc0eecc6f6ac9622b498134d8415010b077f4d57d (patch)
treeb0984137a2bb71a29ea0d61edbeaef3e4969f228 /lualibs-string.lua
parentc437a26a8c912b66cb51ce90b95dc05f0a5d9fc4 (diff)
downloadlualibs-c0eecc6f6ac9622b498134d8415010b077f4d57d.tar.gz
sync with Context as of 2013-06-04
Diffstat (limited to 'lualibs-string.lua')
-rw-r--r--lualibs-string.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lualibs-string.lua b/lualibs-string.lua
index 77c076c..9b079b0 100644
--- a/lualibs-string.lua
+++ b/lualibs-string.lua
@@ -91,6 +91,8 @@ end
local pattern = P(" ")^0 * P(-1)
+-- patterns.onlyspaces = pattern
+
function string.is_empty(str)
if str == "" then
return true