first-approach implementation of nesting selectors

This commit is contained in:
Yiffy Dev 2024-10-30 16:33:50 +05:00
commit 05f627e45b
No known key found for this signature in database
GPG key ID: FB83DFEAFB3F4709

View file

@ -294,7 +294,7 @@ impl ScopedSelector {
}
}
fn apply_basic_rusty_member_gen_rules(source: &str) -> String {
pub fn apply_basic_rusty_member_gen_rules(source: &str) -> String {
let omit_regex = Regex::new(r"(^\-)|(\-$)|[^a-zA-Z0-9\-\_]")
.expect("BUG: can not build omition regex for rusty member generation");