Regex isn't filling in groups properly in some situations.
Code Snippet (if applicable) to Reproduce Problem:
mob/verb/TestParse()
var/regex/rgx_infocolumn = new/regex(@(''')(.*)\{\}(.*)''',"g") var/haystack = @(''')<span style="width:50%">{}</span>'''
var/result = rgx_infocolumn.Find(haystack,1)
if(!result)
src << "No match"
else
src << "Result = [result]"
for(var/g in rgx_infocolumn.group)
src << " [json_encode(g)]"
Expected Results:
Filled in groups
Actual Results:
Empty groups