split - Want to separate a string by spaces, but not escaped spaces -


I would like to write some code that will take a string and "" , but No "\" I usually use std.array.split for division, but it can not handle it clearly. What will be the best way for me to do?

Regular expression (+ view) is powerful enough for:

  Import std.regex; Zero Main () {Auto Parts = Split (R "EF repeatedly", Reggae (R "(? & Lt;! \\)")); Emphasis (parts == ["foo", "repeatedly", "falcon"]); }   



Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -