diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-06-04 22:40:17 +0200 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-06-04 22:40:17 +0200 |
commit | c0eecc6f6ac9622b498134d8415010b077f4d57d (patch) | |
tree | b0984137a2bb71a29ea0d61edbeaef3e4969f228 /lualibs-string.lua | |
parent | c437a26a8c912b66cb51ce90b95dc05f0a5d9fc4 (diff) | |
download | lualibs-c0eecc6f6ac9622b498134d8415010b077f4d57d.tar.gz |
sync with Context as of 2013-06-04
Diffstat (limited to 'lualibs-string.lua')
-rw-r--r-- | lualibs-string.lua | 2 |
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 |