pub fn validate<Spec: GeneralQSSpec>(input: &str) -> bool {
    parse::<Spec>(input)
        .map(|res|res.tail.is_empty())
        .unwrap_or(false)
}
/// validates if input is a valid quoted-string
///
/// in difference to parse it requires the whole input to be one quoted-string
///
/// # Example
///
/// ```
/// // use your own spec
/// use quoted_string::test_utils::TestSpec;
/// use quoted_string::validate;
///
/// assert!(validate::<TestSpec>("\"quoted string\""));
/// assert!(!validate::<TestSpec>("\"not right\"really not"));
/// ```
///
validates if input is a valid quoted-string
in difference to parse it requires the whole input to be one quoted-string
validates if input is a valid quoted - string in difference to parse it requires the whole input to be one quoted - string
pub fn validate<Spec: GeneralQSSpec>(input: &str) -> bool {
    parse::<Spec>(input)
        .map(|res|res.tail.is_empty())
        .unwrap_or(false)
}
pub fn validate < Spec : GeneralQSSpec > ( input : & str ) -> bool { parse :: < Spec > ( input ) . map ( | res | res . tail . is_empty ( ) ) . unwrap_or ( false ) }
validates if input is a valid quoted-string
in difference to parse it requires the whole input to be one quoted-string
validates if input is a valid quoted - string in difference to parse it requires the whole input to be one quoted - string
input
&str
input
&str
example
None