improved most of regex for single letter languages except s. cleaned up code