rzel / kahlua

Automatically exported from code.google.com/p/kahlua
0 stars 0 forks source link

bug in string.match() #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There is a bug in string.match(); the source below works on Lua, not on 
Kahlua (release 20090211):

---
assert(
   string.match("break", "^([%a_][%w_]*)()"), 
   "there's a bug in string.match")

print "there's no bug actually"

---

Original issue reported on code.google.com by fleu...@gmail.com on 13 Feb 2009 at 4:57

GoogleCodeExporter commented 9 years ago
Verified. I will add this to the test suite and work on a fix.

Original comment by kristofer.karlsson@gmail.com on 13 Feb 2009 at 5:33

GoogleCodeExporter commented 9 years ago
This is now fixed in Subversion.

Original comment by kristofer.karlsson@gmail.com on 13 Feb 2009 at 6:45