Some sweeping syntax changes for consistency:

(! foo) changed to ( ! foo)
|| changed to OR
changed newline standardization code in various places from preg_replace to str_replace
diff --git a/system/libraries/Parser.php b/system/libraries/Parser.php
index f260b2e..d349e26 100644
--- a/system/libraries/Parser.php
+++ b/system/libraries/Parser.php
@@ -1,4 +1,4 @@
-<?php  if (!defined('BASEPATH')) exit('No direct script access allowed');

+<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

 /**

  * CodeIgniter

  *

@@ -130,7 +130,7 @@
 			$temp = $match['1'];

 			foreach ($row as $key => $val)

 			{

-				if (! is_array($val))

+				if ( ! is_array($val))

 				{

 					$temp = $this->_parse_single($key, $val, $temp);

 				}

@@ -158,7 +158,7 @@
 	 */

 	function _match_pair($string, $variable)

 	{

-		if (! preg_match("|".$this->l_delim . $variable . $this->r_delim."(.+)".$this->l_delim . '/' . $variable . $this->r_delim."|s", $string, $match))

+		if ( ! preg_match("|".$this->l_delim . $variable . $this->r_delim."(.+)".$this->l_delim . '/' . $variable . $this->r_delim."|s", $string, $match))

 		{

 			return FALSE;

 		}

@@ -168,6 +168,6 @@
 

 }

 // END Parser Class

-
-/* End of file Parser.php */
+

+/* End of file Parser.php */

 /* Location: ./system/libraries/Parser.php */
\ No newline at end of file