From 29680d030b8dec95f3082fb0cb154e523eae61ff Mon Sep 17 00:00:00 2001 From: paulc Date: Fri, 11 Jun 2010 12:33:28 +0000 Subject: [PATCH] Documented the infix operator \| that matches either expression. Patch recommended by Allan Sandfeld Jensen. git-svn-id: http://voip.null.ro/svn/yate@3373 acf43c95-373e-0410-b603-e72c3f656dc1 --- conf.d/regexroute.conf.sample | 1 + 1 file changed, 1 insertion(+) diff --git a/conf.d/regexroute.conf.sample b/conf.d/regexroute.conf.sample index 32f39dc5..87f23978 100644 --- a/conf.d/regexroute.conf.sample +++ b/conf.d/regexroute.conf.sample @@ -13,6 +13,7 @@ ; \{N\} matches preceeding expression exactly N times ; \{N,\} matches preceeding expression N or more times ; \{N,M\} matches preceeding expression between N and M times +; \| matches either the preceeding or following expression ; \( \) captures the contained subexpression ; Remember matches are greedy, they will match as much as possible ; You must escape ^ $ . * [ and \ with \ whenever you want them to be normal