[sr-dev] git:master: core: Allow colon separated tokens in event_route names

Hugh Waite hugh.waite at crocodile-rcs.com
Wed Apr 10 13:37:28 CEST 2013


Module: sip-router
Branch: master
Commit: fb4d9dae890705388275abe1fa06358187917d01
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=fb4d9dae890705388275abe1fa06358187917d01

Author: Hugh Waite <hugh.waite at crocodile-rcs.com>
Committer: Hugh Waite <hugh.waite at crocodile-rcs.com>
Date:   Wed Apr 10 11:27:59 2013 +0100

core: Allow colon separated tokens in event_route names

- Event routes can have named routes following the format:
-- <module>:<event>:<name>
-

---

 cfg.lex |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cfg.lex b/cfg.lex
index 7973d6c..a290e0f 100644
--- a/cfg.lex
+++ b/cfg.lex
@@ -556,7 +556,7 @@ COLON		":"
 STAR		\*
 DOT			\.
 CR			\n
-EVENT_RT_NAME [a-zA-Z][0-9a-zA-Z-]*":"[a-zA-Z][0-9a-zA-Z-]*
+EVENT_RT_NAME [a-zA-Z][0-9a-zA-Z-]*(":"[a-zA-Z][0-9a-zA-Z-]*)+
 
 
 COM_LINE	#




More information about the sr-dev mailing list