pub fn is_valid(ke: &str) -> boolExpand description
Returns whether a string is a well-formed key expression.
§Arguments
ke- the candidate key expression.
§Returns
true if ke is /-joined non-empty chunks with no leading, trailing, or doubled /, where
each chunk is *, **, or a literal in which * appears only as part of $* and $ only
before *, with no ? or #.