what does this regex test? maybe simply use ([\w-]+)\.ini$