aliasSub regex behavior changed

I’ve a series as the following (proprietary information changed):

transformNull(a.b.latest.c.d-latest-79ccc6557c-rbjd5.gauge.jvm.classes.loaded,0)

A correct regex that captures the word loaded but not the following ,0) is given below:

(?:[^.]+\.){5}(?:[^.]+)-([^.]+)(?:\.[^.]+){3}\.([^.]+),(?:[^.]+)

Specifically, ,(?:[^.]+) is what ignores ,0). However, this no longer works. If I remove ,(?:[^.]+), it is technically wrong regex, and should capture loaded,0), but it magically captures only loaded.

It seems something changed on graphite such that the regex parser only considers the series name, and not any functions.