Fixed potential infinie loop when source code looks like an regexp call
The api-code prettifier contains several heuristics for prettifying source code without being a proper parser. It contains a "Hack for nasty regexp stuff" which could run potentially into an infinite parsing loop. This change fixes an acutal bug on openacs.org for file [1] which is site-local.