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
Is 404 Not Found, but an older version of it says:
A database must be named with all lowercase letters (a-z), digits (0-9), or any of the ''_$()+-/'' characters and must end with a slash in the URL. The name has to start with a lowercase letter (a-z).
This suggests that a more accurate regex would be ^[a-z][_$a-z0-9]*$ (excluding ()+-/ because they are not valid in JavaScript identifiers).
The text was updated successfully, but these errors were encountered:
If you don't want to allow $ and _ in the terminal position because it's reserved, I can amend the regex in my PR for that.
I really just want an underscore in the middle of a name.
Case
Bug
Issue
The regular expression here:
rxdb/src/util.js
Line 194 in 41cb52e
The link here:
rxdb/src/util.js
Line 171 in 41cb52e
Is 404 Not Found, but an older version of it says:
This suggests that a more accurate regex would be
^[a-z][_$a-z0-9]*$
(excluding()+-/
because they are not valid in JavaScript identifiers).The text was updated successfully, but these errors were encountered: