search for: match_all

Displaying 3 results from an estimated 3 matches for "match_all".

Did you mean: catch_all
2018 Jun 26
2
Asterisk not matching longest prefix with include
Hi, My dialplan looks like this: [from-external] Exten => _X.,1,Noop(CALL IS COMING INTO FROM EXTERNAL CONTEXT) Exten => _X.,n,Noop(IP: ${CHANNEL(recvip)}) Exten => _X.,n,Noop(CALLED NUMBER: ${EXTEN}) Exten => _X.,n,Ringing Exten => _X.,n,WaitExten(15) Exten => _X.,n,Congestion() Exten => _X.,n,Hangup() include => test [test] Exten => 8282,1,Noop(--- WE GOT TO
2018 Jun 26
2
Asterisk not matching longest prefix with include
...gt;> >> [test] >> >> Exten => 8282,1,Noop(--- WE GOT TO CONTEXT TEST!--------- ) >> >> > > Dovid, > > This has to do with sort order, try this: > > > [from-external] > > ; Order DOES count > > include => test > include => match_all > > > [match_all] > > Exten => _X.,1,Noop(CALL IS COMING INTO FROM EXTERNAL CONTEXT) > Exten => _X.,n,Noop(IP: ${CHANNEL(recvip)}) > Exten => _X.,n,Noop(CALLED NUMBER: ${EXTEN}) > Exten => _X.,n,Ringing > Exten => _X.,n,WaitExten(15) > Exten => _X.,n,...
2008 Feb 03
4
Extract vowels and consonants using Ruby Regex
Hello, I am trying to build a regex to extract vowels and consonants from a string. So far, I am able to extract the basic a-e-i-o-u sequence using the following extension to the String class: class String def vowels scan(/[aeiou]/i) end def consonants scan(/[^aeiou]/i) end end examples: >> "Mary had a little lamb".vowels => aaaiea >> "Mary had a