Fixed new match after end of previous block with no spaces in between.

git-svn-id: http://voip.null.ro/svn/yate@6289 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2018-01-05 12:20:26 +00:00
parent 2b0d280395
commit 2b1a2a9fea
1 changed files with 1 additions and 1 deletions

View File

@ -633,7 +633,7 @@ static bool oneContext(Message &msg, String &str, const String &context, String
BlockState blockThis = (blockDepth > 0) ? blockStack[blockDepth-1] : BlockRun;
BlockState blockLast = BlockSkip;
Regexp reg(n->name(),s_extended,s_insensitive);
if (reg.startSkip("}")) {
if (reg.startSkip("}",false)) {
if (!blockDepth) {
Debug("RegexRoute",DebugWarn,"Got '}' outside block in line #%u in context '%s'",
i+1,context.c_str());