I came across something today when utilizing my first interceptor and attempting to use the eventPattern annotation.
In the documents (http://wiki.coldbox.org/wiki/Interceptors.cfm), it gives examples of escaping the period with a backlash which seems appropriate. (IE “^admin.”)
However, I could not get the interceptor to fire off and found that by removing the backslash and leaving the period as is, the interceptor method finally fired off.
I don’t know if this legitimately correct when knowing about regex, but this is just an observation so at least it can be addressed if it is a bug or if the documentation is incorrect.
Sorry, that’s not what I meant. What URL is the user hitting in their browser when you expect your interceptor to fire? I can see the regex you’re using, but until I know what that regex is being matched against, it’s impossible for me to tell if it’s correct.