You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In section 2.4 (code, live) there is a regex for valid Identifiers:
/[A-Za-z_][a-za-z_0-9]*/
This looks strange, because [a-za-z] is equivalent to [a-z]. In addition, we're actively running GROQ queries against Sanity which use camelCase identifiers.
Is it possible that this regex is meant to be /[A-Za-z_][A-za-z_0-9]*/?
The text was updated successfully, but these errors were encountered:
Describe the bug
In section 2.4 (code, live) there is a regex for valid Identifiers:
This looks strange, because
[a-za-z]
is equivalent to[a-z]
. In addition, we're actively running GROQ queries against Sanity which usecamelCase
identifiers.Is it possible that this regex is meant to be
/[A-Za-z_][A-za-z_0-9]*/
?The text was updated successfully, but these errors were encountered: