Hallo, Gast! (Registrieren)

Letzte Ankündigung: MyBB 1.8.8 veröffentlicht (17.10.16)


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
MyCode
#1
Regulärer Ausdruck:
Code:
\[deviant\](.*?)[/deviant\]
Ersetzung:
Code:
<center><table border="1" bordercolor = "blue" cellspacing="0" cellpadding="0"  >
<tr>
<td class="thead" align="center"><strong><a href = "http://deviantart.com"  target = "_new">Deviantart</a></stong></td>
</tr>
<tr>
<td>
<object width="450" height="386"><param name="movie" value="http://backend.deviantart.com/embed/view.swf" /><param name="flashvars" value="id=$1&width=1337" /><param name="allowScriptAccess" value="always" /><embed src="http://backend.deviantart.com/embed/view.swf" type="application/x-shockwave-flash" width="450" flashvars="id=$1&width=1337" height="386" allowscriptaccess="always"></embed></object>
</td>
</tr>
</table> </center>

Dabei treten viele Fehler auf.. Siehe:

Zitat:Folgende Warnungen sind aufgetreten:
Warning [2] preg_replace(): Compilation failed: missing terminating ] for character class at offset 27 - Line: 321 - File: inc/class_parser.php PHP 5.2.12 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/class_parser.php 321 preg_replace
/inc/class_parser.php 143 postParser->parse_mycode
/newreply.php 1091 postParser->parse_message
Warning [2] preg_replace(): Compilation failed: missing terminating ] for character class at offset 27 - Line: 321 - File: inc/class_parser.php PHP 5.2.12 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/class_parser.php 321 preg_replace
/inc/class_parser.php 143 postParser->parse_mycode
/newreply.php 1091 postParser->parse_message
Warning [2] preg_replace(): Compilation failed: missing terminating ] for character class at offset 27 - Line: 321 - File: inc/class_parser.php PHP 5.2.12 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/class_parser.php 321 preg_replace
/inc/class_parser.php 143 postParser->parse_mycode
/newreply.php 1091 postParser->parse_message
Warning [2] preg_replace(): Compilation failed: missing terminating ] for character class at offset 27 - Line: 321 - File: inc/class_parser.php PHP 5.2.12 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/class_parser.php 321 preg_replace
/inc/class_parser.php 143 postParser->parse_mycode
/newreply.php 1091 postParser->parse_message
Warning [2] preg_replace(): Compilation failed: missing terminating ] for character class at offset 27 - Line: 321 - File: inc/class_parser.php PHP 5.2.12 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/class_parser.php 321 preg_replace
/inc/class_parser.php 143 postParser->parse_mycode
/newreply.php 1091 postParser->parse_message
Warning [2] preg_replace(): Compilation failed: missing terminating ] for character class at offset 27 - Line: 321 - File: inc/class_parser.php PHP 5.2.12 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/class_parser.php 321 preg_replace
/inc/class_parser.php 143 postParser->parse_mycode
/newreply.php 1091 postParser->parse_message
Warning [2] preg_replace(): Compilation failed: missing terminating ] for character class at offset 27 - Line: 321 - File: inc/class_parser.php PHP 5.2.12 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/class_parser.php 321 preg_replace
/inc/class_parser.php 143 postParser->parse_mycode
/newreply.php 1091 postParser->parse_message

Was wurde falsch gemacht?
Danke im vorraus.
#2
Probier es mal so
Code:
\[deviant\](.*?)\[/deviant\]
viele Grüße
Jockl
übersetzte und eigene Plugins