Skip to content

Commit

Permalink
#10148 Simplify the row regexp to work with new PCRE, thanks Mark Wie…
Browse files Browse the repository at this point in the history
…semann for the testing and support

git-svn-id: https://svn.php.net/repository/pear/packages/Text_Wiki/trunk@231777 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
bertrand Gugger committed Mar 13, 2007
1 parent 428289a commit d9ecd6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Text/Wiki/Parse/Mediawiki/Table.php
Expand Up @@ -52,7 +52,7 @@ class Text_Wiki_Parse_Table extends Text_Wiki_Parse {
* @see process()
* @see processRows()
*/
var $regexRows = '#(?:^(\||!)-|\G)(.*?)^(.+?)(?=^(?:\|-|!-|\z))#msi';
var $regexRows = '#(?:^([|!])-|\G)(.*?)^(.+?)(?=^[|!]-|\z)#msi';

/**
* The regular expression used in third stage to find rows's cells
Expand Down

0 comments on commit d9ecd6a

Please sign in to comment.