I believe this was fixed in recent BlogIt versions; the part [_-\w] should probably be written [-_\w] So try with the latest BlogIt version. Petko On 2014-12-16 17:33, Mark Lee wrote: > ERROR: pat=/(\[\[#blogit_(\w[_-\w]*)\]\](?: > *\n)?)(.*?)(\[\[#blogit_\2end\]\])/s