java Regex - split but ignore text inside quotes?

后端 未结 4 1993
深忆病人
深忆病人 2021-01-15 18:35

using only regular expression methods, the method String.replaceAll and ArrayList how can i split a String into tokens, but ignore delimiters that exist inside quotes? the

4条回答
  •  别那么骄傲
    2021-01-15 19:14

    You cannot in any reasonable way. You are posing a problem that regular expressions aren't good at.

提交回复
热议问题