diff core/src/luan/modules/mmake.luan @ 629:35dde32c02ab 0.15

change String.matches()
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 18 Jan 2016 23:07:52 -0700
parents 9767da72545b
children e387e4021afe
line wrap: on
line diff
--- a/core/src/luan/modules/mmake.luan	Mon Jan 18 06:42:50 2016 -0700
+++ b/core/src/luan/modules/mmake.luan	Mon Jan 18 23:07:52 2016 -0700
@@ -28,7 +28,7 @@
 	local dirs = {}
 	for _, file in ipairs(dir.children()) do
 		local name = file.name()
-		if String.matches(name,[[.*\.java]]) then
+		if String.matches(name,[[\.java$]]) then
 			javas[#javas+1] = String.sub(name,1,-6)
 		end
 		if file.is_directory() and mmake(file) then