Thread:Project:Support desk/Scribunto : Warning: preg replace callback(): Compilation failed: unknown property name after \P or \p at offset 7 in /Users/dan/websites/gwtoolset/core/extensions/Scribunto/engines/LuaCommon/UstringLibrary.php on line 643

MediaWiki	1.22alpha (8967ed3) 01:48, 13 September 2013 PHP 5.3.15 (apache2handler) MySQL 5.6.10 Lua 5.1.5 Scribunto (32bb3e2) 21:27, 9 September 2013 Whenever i use Special:Import to do a clean import the Template:TemplateBox template from commons i see the warning. this warning also appears on ceratin refreshLinks commands when i run  :

Warning: preg_replace_callback: Compilation failed: unknown property name after \P or \p at offset 7 in /Users/dan/websites/gwtoolset/core/extensions/Scribunto/engines/LuaCommon/UstringLibrary.php on line 643

here’s the code at that point in the file : 642   $count = 0; 643   $s2 = preg_replace_callback( $re, $cb, $s, $n, $count ); 644   return array( $s2, $count );

any ideas on what might be wrong?