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/helpers/inflector_helper.php b/system/helpers/inflector_helper.php
index b0b99be..49ba542 100644
--- a/system/helpers/inflector_helper.php
+++ b/system/helpers/inflector_helper.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

  *

@@ -37,7 +37,7 @@
  * @param	string

  * @return	str

  */	

-if (! function_exists('singular'))

+if ( ! function_exists('singular'))

 {	

 	function singular($str)

 	{

@@ -78,7 +78,7 @@
  * @param	bool

  * @return	str

  */	

-if (! function_exists('plural'))

+if ( ! function_exists('plural'))

 {	

 	function plural($str, $force = FALSE)

 	{

@@ -116,7 +116,7 @@
  * @param	string

  * @return	str

  */	

-if (! function_exists('camelize'))

+if ( ! function_exists('camelize'))

 {	

 	function camelize($str)

 	{		

@@ -137,7 +137,7 @@
  * @param	string

  * @return	str

  */	

-if (! function_exists('underscore'))

+if ( ! function_exists('underscore'))

 {

 	function underscore($str)

 	{

@@ -156,7 +156,7 @@
  * @param	string

  * @return	str

  */	

-if (! function_exists('humanize'))

+if ( ! function_exists('humanize'))

 {	

 	function humanize($str)

 	{

@@ -164,6 +164,6 @@
 	}

 }

 	

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

+/* End of file inflector_helper.php */

 /* Location: ./system/helpers/inflector_helper.php */
\ No newline at end of file