Hi Wayne

> Thanks for following up, Langdon. This is a not-uncommon issue with
> PHP, unfortunately. 

I have always wondered why people make such a big issue over extraneous 
spaces (I always just check for them when I make the models and 
controllers).  However in this case I accidentally introduced the space 
when I had Eclipse lock up.  So now I know why people despise it so ...


I wish there was a simple way to check non-view
> PHP files for spaces -- anyone have a working regexp for grep or a
> similar utility? Essentially, any space in any non-view file (outside
> of <?php ...?> tags) should be identified and eliminated.

I use Ant for my build process out of Eclipse and have just looked up 
regular expressions in Ant.  You could easily use the "ReplaceRegExp" 
Ant Task to do exactly what you are suggesting on files in the 
Controller and Model directories (and any others like config perhaps).

I can't tell you the required regular expression off the top of my head, 
but half an hour and some Googling would sort it.

This would give you a fool proof solution to the problem.

Regards,
Langdon

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to