Mercurial Hosting > luan
view 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 |
line wrap: on
line source
java() local StringLuan = require "java:luan.modules.StringLuan" local Pattern = require "java:java.util.regex.Pattern" local M = {} M.char = StringLuan.char_ M.concat = StringLuan.concat M.encode = StringLuan.encode M.find = StringLuan.find M.format = StringLuan.format M.gmatch = StringLuan.gmatch M.gsub = StringLuan.gsub M.literal = Pattern.quote M.lower = StringLuan.lower M.match = StringLuan.match M.matches = StringLuan.matches M.rep = StringLuan.rep M.reverse = StringLuan.reverse M.split = StringLuan.split M.sub = StringLuan.sub M.to_binary = StringLuan.to_binary M.to_number = StringLuan.to_number M.trim = StringLuan.trim M.unicode = StringLuan.unicode M.upper = StringLuan.upper return M