Mercurial Hosting > luan
comparison src/luan/modules/String.luan @ 775:1a68fc55a80c
simplify dir structure
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 26 Aug 2016 14:36:40 -0600 |
parents | core/src/luan/modules/String.luan@e1dfeddfbc7b |
children | bae2d0c2576c |
comparison
equal
deleted
inserted
replaced
774:3e30cf310e56 | 775:1a68fc55a80c |
---|---|
1 java() | |
2 local StringLuan = require "java:luan.modules.StringLuan" | |
3 local Pattern = require "java:java.util.regex.Pattern" | |
4 | |
5 local M = {} | |
6 | |
7 M.char = StringLuan.char_ | |
8 M.concat = StringLuan.concat | |
9 M.encode = StringLuan.encode | |
10 M.find = StringLuan.find | |
11 M.format = StringLuan.format | |
12 M.gmatch = StringLuan.gmatch | |
13 M.gsub = StringLuan.gsub | |
14 M.literal = Pattern.quote | |
15 M.lower = StringLuan.lower | |
16 M.match = StringLuan.match | |
17 M.matches = StringLuan.matches | |
18 M.rep = StringLuan.rep | |
19 M.reverse = StringLuan.reverse | |
20 M.split = StringLuan.split | |
21 M.sub = StringLuan.sub | |
22 M.to_binary = StringLuan.to_binary | |
23 M.to_number = StringLuan.to_number | |
24 M.trim = StringLuan.trim | |
25 M.unicode = StringLuan.unicode | |
26 M.upper = StringLuan.upper | |
27 | |
28 return M |