Fixed IAX uri regexp: proto can be iax or iax2.
git-svn-id: http://voip.null.ro/svn/yate@5530 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
48698ca93c
commit
24e89ec1b0
|
@ -2309,7 +2309,7 @@ void IAXURI::parse()
|
|||
if (m_parsed)
|
||||
return;
|
||||
String tmp(*this), _port;
|
||||
static const Regexp r("^\\([Ii][Aa][Xx]2\\+:\\)\\?\\([^[:space:][:cntrl:]@]\\+@\\)\\?\\([[:alnum:]._-]\\+\\)\\(:[0-9]\\+\\)\\?\\(/[[:alnum:]]*\\)\\?\\([@?][^@?:/]*\\)\\?$");
|
||||
static const Regexp r("^\\([Ii][Aa][Xx]2\\?:\\)\\?\\([^[:space:][:cntrl:]@]\\+@\\)\\?\\([[:alnum:]._-]\\+\\)\\(:[0-9]\\+\\)\\?\\(/[[:alnum:]]*\\)\\?\\([@?][^@?:/]*\\)\\?$");
|
||||
if (tmp.matches(r))
|
||||
{
|
||||
m_username = tmp.matchString(2);
|
||||
|
|
Loading…
Reference in New Issue