Negated character set to match all characters except slash.
+
Match one or more times.
$
Match at the end of a string.
/
End of regular expression.
The purpose of this regular expression is better demonstrated by example. When using custom modules, the Dojo module loader needs to know where to find them. You tell the loader about modules with dojoConfig.packages. Specifically, the location property. So...if your app is running at example.com/maps/usefulStuff.html, and your modules are in example.com/maps/extras, you can use:
Thanks for your explanation. I'm having trouble setting the location for my modules. To follow along with your example, what would the regular expression be if your modules were in: example.com/resources/extras?