The semicolons aren't the object that's causing you trouble if I'm reading your code correctlyyou're mixing single and double quotes in a nested fashion. This is okay, but you're enclosing single quotes in double quotes and then, again, in single quotes. The inner single quotes are being treated as the end of the string.
Instead of this code:
String = ' outer = " inner ' really inner' " ';
String = ' outer = " inner \' really inner\' " ';