[合集] regular expression for whitespace in path# Programming - 葵花宝典
c*d
1 楼
☆─────────────────────────────────────☆
goodbug (好虫) 于 (Mon Dec 11 15:10:02 2006) 提到:
I am writing a shell like program which should be able to parse
mycommand path="/path/my program/..." file=....
how do I write a regex that will split strings with space but not
between matching quotations marks like in path? Thanks for any input.
☆─────────────────────────────────────☆
eecareer (聪明人但总办糊涂事) 于 (Mon Dec 11 15:31:01 2006) 提到:
difficult, why don't you just remove any blank spaces in
goodbug (好虫) 于 (Mon Dec 11 15:10:02 2006) 提到:
I am writing a shell like program which should be able to parse
mycommand path="/path/my program/..." file=....
how do I write a regex that will split strings with space but not
between matching quotations marks like in path? Thanks for any input.
☆─────────────────────────────────────☆
eecareer (聪明人但总办糊涂事) 于 (Mon Dec 11 15:31:01 2006) 提到:
difficult, why don't you just remove any blank spaces in