(set: &[u32], c: u32)
| 1212 | } |
| 1213 | |
| 1214 | fn charset_loc_ignore(set: &[u32], c: u32) -> bool { |
| 1215 | let lo = lower_locate(c); |
| 1216 | if charset(set, c) { |
| 1217 | return true; |
| 1218 | } |
| 1219 | let up = upper_locate(c); |
| 1220 | up != lo && charset(set, up) |
| 1221 | } |
| 1222 | |
| 1223 | fn category(cat_code: SreCatCode, c: u32) -> bool { |
| 1224 | match cat_code { |
nothing calls this directly
no test coverage detected