Mercurial Hosting > luan
comparison src/luan/lib/StringLib.java @ 138:06159094b802
replace WebRun.java with web_run.luan
git-svn-id: https://luan-java.googlecode.com/svn/trunk@139 21e917c8-12df-6dd8-5cb6-c86387c605b9
author | fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9> |
---|---|
date | Thu, 12 Jun 2014 08:20:48 +0000 |
parents | 3119326260ea |
children | 05f8c21160ef |
comparison
equal
deleted
inserted
replaced
137:573ce091ae00 | 138:06159094b802 |
---|---|
187 final int n = m.groupCount(); | 187 final int n = m.groupCount(); |
188 if( n == 0 ) | 188 if( n == 0 ) |
189 return m.group(); | 189 return m.group(); |
190 String[] rtn = new String[n]; | 190 String[] rtn = new String[n]; |
191 for( int i=0; i<n; i++ ) { | 191 for( int i=0; i<n; i++ ) { |
192 rtn[i] = m.group(i); | 192 rtn[i] = m.group(i+1); |
193 } | 193 } |
194 return rtn; | 194 return rtn; |
195 } | 195 } |
196 }; | 196 }; |
197 } | 197 } |