gen/unused: Remove unused function

Remove unused function is_alphanumeric_or_slash
pull/15080/head
Jeff Lucovsky 1 month ago committed by Victor Julien
parent 98070a7ace
commit 14ebba6382

@ -69,10 +69,6 @@ pub struct DetectIPRepData {
pub isnotset: bool, // if true, ignores `du8`
}
pub fn is_alphanumeric_or_slash(chr: char) -> bool {
return chr.is_ascii_alphanumeric() || chr == '_' || chr == '-';
}
pub fn detect_parse_iprep(i: &str) -> IResult<&str, DetectIPRepData, RuleParseError<&str>> {
// Inner utility function for easy error creation.
fn make_error(reason: String) -> nom8::Err<RuleParseError<&'static str>> {

Loading…
Cancel
Save