Update library/Rain/Tpl.php
Update Tpl.php

makes preg_match named subpattern for opening {loop} tag compatibile for PHP versions preceding 5.2.2 (PCRE 7.0)
Update
Update to back compatible preg_match, PHP 5.2