void () { checkTokenizer("a b=\"some text\" c", "a", "b=some text", "c"); checkTokenizer("a b=\"some text with spaces\" c", "a", "b=some text with spaces", "c"); checkTokenizer("a b=\"some text with spaces\".more c", "a", "b=some text with spaces.more", "c"); checkTokenizer("a b=\"some text with spaces \"more c", "a", "b=some text with spaces more", "c"); checkTokenizer("a \"some text with spaces\"More c", "a", "some text with spacesMore", "c"); checkTokenizer("a \"some text with spaces more c", "a", "some text with spaces more c"); checkTokenizer("a\"Some text with spaces \"more c", "aSome text with spaces more", "c"); checkTokenizer("a\"Some text with spaces \"more", "aSome text with spaces more"); checkTokenizer("a\"Some text with spaces \"more next\"Text moreText\"End c", "aSome text with spaces more", "nextText moreTextEnd", "c"); checkTokenizer("\"\"C:\\phing.bat\"", "C:\\phing.bat"); checkTokenizer("-Dp.1=\"some text\" -Dp.2=\\\"value\\\"", "-Dp.1=some text", "-Dp.2=\"value\""); checkTokenizer("-Dp.1=- -dump-config", "-Dp.1=-", "-dump-config"); }