Hey @aetheon
What's your thoughts to improve RegExpFormat from /^\/.*\/(\w*)$/ to /^\/.*\/([gimuy]*)$/
The current isRegExpStr function returns true for such strings like '/users/all'or /admin/emails
Of course, new regexp also doesn't resolve all issues, it can provide wrong results for such strings like /users/mig or similar but I think it's better anyway. WDYT?
Hey @aetheon
What's your thoughts to improve RegExpFormat from
/^\/.*\/(\w*)$/to/^\/.*\/([gimuy]*)$/The current
isRegExpStrfunction returnstruefor such strings like'/users/all'or/admin/emailsOf course, new regexp also doesn't resolve all issues, it can provide wrong results for such strings like
/users/migor similar but I think it's better anyway. WDYT?