Test, validate and match regular expressions
This regex matches standalone occurrences of the function call `map(` while avoiding instances that are already scoped (like `tMath.map(`), declared as types (`float map(`), or part of larger strings/words. It uses multiple negative lookbehinds to ensure the match is isolated and not preceded by word characters, quotes, or specific prefixes. It is perfectly suited for refactoring codebases to safely replace generic `map()` calls with `tMath.Map()` without causing double-prefixing or altering string contents.