seancorfield/di1 — pull request #20 by aliaspooryorik (2012-06-11 20:54:58+00:00)
Title: Support for defining Singletons by Reg Ex

Added support & tests for defining singletons via a Regular Expression.

Example:
new ioc( "/model/", { singletonPattern = ".+(Service|Factory)$" } );