fork(2) download
  1. set line "foo \"aaa\"zz bar \"aaa:ccc\" ccc"
  2. set matches [regexp -all -inline {"([^"]*)"} $line]
  3. set res {}
  4. foreach {match capture} $matches {
  5. lappend res $capture
  6. }
  7. puts $res
Success #stdin #stdout 0.01s 5592KB
stdin
Standard input is empty
stdout
aaa aaa:ccc