Skip to main content

split_selectors

Function split_selectors 

Source
pub fn split_selectors(prelude: &str) -> Vec<String>
Expand description

Split a selector-group prelude on its top-level commas (commas inside strings, () or [] are part of a single selector), stripping comments and trimming each selector. An empty prelude yields an empty list.