Regex Find with global flag on does not update next search starting position.
Numbered Steps to Reproduce Problem:
Code Snippet (if applicable) to Reproduce Problem:
var/example = "A A A A A A A"
var/regex/R = new("A", "gm")
var/count = 0
while(R.Find(example))
count++
world << count
Expected Results:
7
Actual Results:
infinite loop
also happens with Find_char
When does the problem NOT occur?
Before 513.1493
Workarounds: Manually modify .next