Bug fix: characters were being dropped by some regular expressions, now it works properly.