fixed issue with Guice and $inherit() RegExp