ForumForum

Es ist: 30.07.2010, 12:41 Hallo, Gast! (AnmeldenRegistrieren)

Letzte Ankündigung: MyBB 1.6 Beta veröffentlicht (16.05.10)


Antwort schreiben   
 
Themabewertung:
  • 1 Bewertungen - 3 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
MyCode
19.12.2009, 02:00
Beitrag: #1
MyCode
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.
Alle Beiträge dieses Benutzers finden
Diese Nachricht in einer Antwort zitieren
19.12.2009, 10:08
Beitrag: #2
RE: MyCode
Probier es mal so
Code:
\[deviant\](.*?)\[/deviant\]

viele Grüße
Jockl
Webseite des Benutzers besuchen Alle Beiträge dieses Benutzers finden
Diese Nachricht in einer Antwort zitieren
Antwort schreiben 


Gehe zu: