adding ending delimiter '/' to regex pattern (closing #252)