Not-Preceded RegEx : negative lookbehind (?<!x)
/(?<![^: ])calc/su
xyzcalc123 = false
xyz:calc123 = true : calc
xyz calc123 = true : calc
calc123 = true : calc