#ifndef MOTORCONST_H
#define MOTORCONST_H
-#define rMOTORVAR "[a-zA-Z_0-9][a-zA-Z_0-9-]*"
+#define rMOTORVAR "[a-zA-Z_0-9][a-zA-Z_0-9+*-]*"
#define rWIKIVAR "[a-zA-Z_][a-zA-Z_0-9-]*"
#define rWikiID "[a-zA-Z_][a-zA-Z_0-9-]*"
#define kWORD "[a-zA-Z0-9_]"
return mlenv->env->path_storage_file (name);
case F_STATIC:
return mlenv->env->path_static_file (name);
-#if 0
- {
- ustring ans;
- if (! checkResourceName (name))
- throw (name + uErrorBadFile);
- if (mlenv->env->path_resource (name, ans)) {
- } else {
- throw (name + uErrorNotFound);
- }
- return ans;
- }
-#endif
default:
throw (uErrorNoStore);
}