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++ - 'std::string' has no member named 'get' list[i]=user.get; -

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

wpf - ControlTemplate with changes for every class -