regex version 2. Now with correct escape behaviour