fn unquote_sqlite_string_default(s: &str) -> Cow<'_, str> {
    static SQLITE_STRING_DEFAULT_RE: Lazy<Regex> = Lazy::new(|| Regex::new(r#"(?ms)^'(.*)'$|^"(.*)"$"#).unwrap());
    static SQLITE_ESCAPED_CHARACTER_RE: Lazy<Regex> = Lazy::new(|| Regex::new(r#"''"#).unwrap());

    match SQLITE_STRING_DEFAULT_RE.replace(s, "$1$2") {
        Cow::Borrowed(s) => SQLITE_ESCAPED_CHARACTER_RE.replace_all(s, "'"),
        Cow::Owned(s) => SQLITE_ESCAPED_CHARACTER_RE.replace_all(&s, "'").into_owned().into(),
    }
}
// "A string constant is formed by enclosing the string in single quotes ('). A single quote within
// the string can be encoded by putting two single quotes in a row - as in Pascal. C-style escapes
// using the backslash character are not supported because they are not standard SQL."
//
// - https://www.sqlite.org/lang_expr.html
"A string constant is formed by enclosing the string in single quotes ('). A single quote within
the string can be encoded by putting two single quotes in a row - as in Pascal. C-style escapes
using the backslash character are not supported because they are not standard SQL."


" A string constant is formed by enclosing the string in single quotes ( ' ) . A single quote within the string can be encoded by putting two single quotes in a row - as in Pascal . C - style escapes using the backslash character are not supported because they are not standard SQL . "
fn unquote_sqlite_string_default(s: &str) -> Cow<'_, str> {
    static SQLITE_STRING_DEFAULT_RE: Lazy<Regex> = Lazy::new(|| Regex::new(r#"(?ms)^'(.*)'$|^"(.*)"$"#).unwrap());
    static SQLITE_ESCAPED_CHARACTER_RE: Lazy<Regex> = Lazy::new(|| Regex::new(r#"''"#).unwrap());
    match SQLITE_STRING_DEFAULT_RE.replace(s, "$1$2") {
        Cow::Borrowed(s) => SQLITE_ESCAPED_CHARACTER_RE.replace_all(s, "'"),
        Cow::Owned(s) => SQLITE_ESCAPED_CHARACTER_RE.replace_all(&s, "'").into_owned().into(),
    }
}
fn unquote_sqlite_string_default ( s : & str ) -> Cow < ' _ , str > { static SQLITE_STRING_DEFAULT_RE : Lazy < Regex > = Lazy :: new ( | | Regex :: new ( r#"(?ms)^'(.*)'$|^"(.*)"$"# ) . unwrap ( ) ) ; static SQLITE_ESCAPED_CHARACTER_RE : Lazy < Regex > = Lazy :: new ( | | Regex :: new ( r#"''"# ) . unwrap ( ) ) ; match SQLITE_STRING_DEFAULT_RE . replace ( s , " " ) { Cow :: Borrowed ( s ) => SQLITE_ESCAPED_CHARACTER_RE . replace_all ( s , " " ) , Cow :: Owned ( s ) => SQLITE_ESCAPED_CHARACTER_RE . replace_all ( & s , " " ) . into_owned ( ) . into ( ) , } }
"A string constant is formed by enclosing the string in single quotes (').
" A string constant is formed by enclosing the string in single quotes ( ' ) .
s
&str
s
&str