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:
parent
2b0d280395
commit
2b1a2a9fea
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue