Answer prose round 2: the selector's reserved quote named as opening a JSON value, and the List doc rewrapped
This commit is contained in:
@@ -139,7 +139,7 @@ func HasSelector(segs []string) bool {
|
||||
func SelectorOf(seg string) string { return seg[1 : len(seg)-1] }
|
||||
|
||||
// inSelector is what a selector may not contain: the path grammar reserves brackets and
|
||||
// braces, and inside a token a quote would end the path and a bar would split the token into arms.
|
||||
// braces, a bar splits a token into arms, and a quote opens a JSON value.
|
||||
const inSelector = `[]{}"|`
|
||||
|
||||
// UnspellableInSelector is the first character of s a selector cannot spell, "" where there is none.
|
||||
|
||||
Reference in New Issue
Block a user