quotedWords

Undocumented in source. Be warned that the author may not have intended to support it.
Chars[]
quotedWords
(
Chars
)
(
Chars s
,
const scope string quoteBeginChar = `"`
,
const scope string quoteEndChar = `"`
)
if ()

Examples

import std.stdio;
import std.algorithm.comparison : equal;
const t = `verb:is   noun:"New York" a noun:"big  city"@en `;
const x = t.quotedWords;
const xs = [`verb:is`, `noun:"New York"`, `a`, `noun:"big  city"@en`];
assert(equal(x, xs));
/+ TODO: assert(equal(` verb:is   name:"New York"@en article:a noun:"big  city"@en `.quotedWords, +/
//			  [`verb:is`, `name:"New York"@en`, `article:a`, `noun:"big  city"@en`]));

Meta