분리하는 방법은 문자열에는 파이썬은 여러 구분 기호
>>> a='Beautiful, is; better*than\nugly'
>>> import re
>>> re.split('; |, |\*|\n',a)
['Beautiful', 'is', 'better', 'than', 'ugly']
분할 텍스트에 여러 가지 분리기
fn main() {
let s = "Hey, is this a complex-program, or a complex_program";
let chunks:Vec<_> = s.split(&[',', '-', '_'][..]).collect();
println!("Split on multiple separators = {:?} ", chunks);
}