Fix for the critical split() macro bug reported by Joerg Fischer: using a
commita8d0c631066130af90b092405de3f6a05e10f245
authorEddy De Greef <edg@users.sourceforge.net>
Wed, 2 Feb 2005 09:07:36 +0000 (2 09:07 +0000)
committerEddy De Greef <edg@users.sourceforge.net>
Wed, 2 Feb 2005 09:07:36 +0000 (2 09:07 +0000)
tree452307941f8bdf72e4474f556cba7400ced69330
parent5903ad3567f0e6a1ec3cbc794a101d8cec9e4a72
Fix for the critical split() macro bug reported by Joerg Fischer: using a
zero-width assertion pattern as the split pattern (regex mode) resulted in
a seemingly endless loop (ended by a crash). Zero-width assertion patterns
now work as expected.
Eg: split("abcdef", "(?=c)", "regex") -> "ab", "cdef".
source/macro.c