discover method in a module by regexp