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

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -