Preg bug. Fixes #132