My recent upgrade to newer PCRE broke Google Docs. Patch forthcoming.
Created attachment 16708 [details] patch, with change log and test case
Comment on attachment 16708 [details] patch, with change log and test case r=me
Committed revision 26720.