Mercurial Hosting > luan
comparison core/src/luan/modules/String.luan @ 503:92c3d22745b8
make _ENV optional
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 20 May 2015 23:24:46 -0600 |
parents | f26485a3692c |
children | 473e456444ff |
comparison
equal
deleted
inserted
replaced
502:d3183a330ff5 | 503:92c3d22745b8 |
---|---|
1 java() | 1 java() |
2 local StringLuan = require "java:luan.modules.StringLuan" | 2 local StringLuan = require "java:luan.modules.StringLuan" |
3 local Pattern = require "java:java.util.regex.Pattern" | 3 local Pattern = require "java:java.util.regex.Pattern" |
4 | 4 |
5 unicode = StringLuan.unicode | 5 local M = {} |
6 char = StringLuan.char_ | 6 |
7 concat = StringLuan.concat | 7 M.unicode = StringLuan.unicode |
8 encode = StringLuan.encode | 8 M.char = StringLuan.char_ |
9 find = StringLuan.find | 9 M.concat = StringLuan.concat |
10 format = StringLuan.format | 10 M.encode = StringLuan.encode |
11 gmatch = StringLuan.gmatch | 11 M.find = StringLuan.find |
12 gsub = StringLuan.gsub | 12 M.format = StringLuan.format |
13 len = StringLuan.len | 13 M.gmatch = StringLuan.gmatch |
14 literal = Pattern.quote | 14 M.gsub = StringLuan.gsub |
15 lower = StringLuan.lower | 15 M.len = StringLuan.len |
16 match = StringLuan.match | 16 M.literal = Pattern.quote |
17 matches = StringLuan.matches | 17 M.lower = StringLuan.lower |
18 rep = StringLuan.rep | 18 M.match = StringLuan.match |
19 reverse = StringLuan.reverse | 19 M.matches = StringLuan.matches |
20 sub = StringLuan.sub | 20 M.rep = StringLuan.rep |
21 to_binary = StringLuan.to_binary | 21 M.reverse = StringLuan.reverse |
22 to_number = StringLuan.to_number | 22 M.sub = StringLuan.sub |
23 trim = StringLuan.trim | 23 M.to_binary = StringLuan.to_binary |
24 upper = StringLuan.upper | 24 M.to_number = StringLuan.to_number |
25 M.trim = StringLuan.trim | |
26 M.upper = StringLuan.upper | |
27 | |
28 return M |