[Agavi-Users] common suffix in environment in xml config files

21 views
Skip to first unread message

Ionuț Matei

unread,
Dec 20, 2012, 4:41:31 PM12/20/12
to Agavi Users Mailing List
Huomenta!

I know I can have common settings for enviromnents named, for example, development-john and development-chuck, grouped under a tag that has the attribute environment="development.*".

But, how can I group, for example settings, for development.john and production.john?

Thanks!

David Zülke

unread,
Jan 3, 2013, 10:57:54 AM1/3/13
to Agavi Users Mailing List
That's simply a different regular expression... environment="\.john$"

(Actually, environment="development.*" matches "development", "foodevelopment", "developmentlol" and anything else with "development" in it because the regular expression is not anchored)

David
> _______________________________________________
> users mailing list
> us...@lists.agavi.org
> http://lists.agavi.org/mailman/listinfo/users

Reply all
Reply to author
Forward
0 new messages