Skip to content

Commit

Permalink
Switching back, toggg says it doesn't work
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.php.net/repository/pear/packages/Text_Wiki/trunk@190536 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
Justin Patrin committed Jul 12, 2005
1 parent 5054e46 commit 298dde8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Text/Wiki/Parse/Default/Code.php
Expand Up @@ -49,8 +49,8 @@ class Text_Wiki_Parse_Code extends Text_Wiki_Parse {
*
*/

//var $regex = '/^(\<code( .+)?\>)\n(.+)\n(\<\/code\>)(\s|$)/Umsi';
var $regex = ';^(<code(\s[^>]*)?>)\n((?:(?:(?!\n</code>\n).)*?|(?R))+)\n(</code>)$;msi';
var $regex = '/^(\<code( .+)?\>)\n(.+)\n(\<\/code\>)(\s|$)/Umsi';
//var $regex = ';^(<code(\s[^>]*)?>)\n((?:(?:(?!\n</code>\n).)*?|(?R))+)\n(</code>)$;msi';

/**
*
Expand Down

0 comments on commit 298dde8

Please sign in to comment.