Fixed issue with main() symbol regex.