Hi, On Tue, May 15, 2012 at 12:15 PM, Jon Barber <[email protected]> wrote: > So I think I've found out why - it's not a bug at all, but down to the > regular expression CQ sets for the filter, which for author mode is > ".*/(install|config)(.author)?$" (and I assume is > ".*/(install|config)(.publish)?$" for publish). > > So that accounts for the fact that /config.author.dev is not the same as > /config.dev.author.
Yes - the logic is that whatever matches the prefix regexp is not considered a run mode, so with the above regexp "author" is not considered a run mode in "foo.author.dev". I'm not sure why CQ is using that regexp, but with it what you're getting is correct. -Bertrand
