Make division/regex check more robust. Previous version would only match the end of identifiers so "min/2" would be considered a regex.