regex-collection (to be continued):
Please write an E-Mail if you got better solutions or other expressions. :)03.01.2009 incomplete PHP-starttags <? → <?php
(.*)<\?[^p](.*) or (.*)<\?[^(php)](.*)
replacement: $1<?php $2
03.01.2009 missing ' ' in PHP-arrays $foo[bar] → $foo['bar']
\$(.*)\[([^'"\d])(.*[^\W])\](.*)
replacement: \$$1['$2$3']$4
27.07.2009 URL-matching:
https?://([-\w\.]+)+(:\d+)?(/([\-\w/-/_\.]*(\?\S+)?)?)?

