language detection (python, c, java) regex