This should probably be configurable with the ability to specify regexes for languages that aren't supported out of the box.