IToken singleLineString2 = new Token(IPythonPartitions.PY_SINGLELINE_STRING2);
// deal with "" and '' strings
boolean breaksOnEOL = true;
boolean breaksOnEOF = false;
boolean escapeContinuesLine = true;
rules.add(new PatternRule("'", "'", singleLineString1, '\\', breaksOnEOL, breaksOnEOF, escapeContinuesLine));
rules.add(new PatternRule("\"", "\"", singleLineString2, '\\', breaksOnEOL, breaksOnEOF, escapeContinuesLine));
}