This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Originally posted by Jean-Francois Briere: Try this (it also allow zero to many spaces around '=':
Note that this doesn't work correctly for a String like "if (var=\"\\\"\")".
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Joined: Jul 11, 2001
Originally posted by Stefan Wagner: shouldn't it be:
Well, yes - but it doesn't make a difference for the regexp...