<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
<font face="Helvetica, Arial, sans-serif">Indeed, this gives a correct
result.<br>
<br>
Thank you all.<br>
<br>
Jonas.</font><br>
<br>
<br>
<blockquote cite="mid:201006171501.o5HF1Yep016140@mail.debsinc.com"
type="cite">
<meta http-equiv="Content-Type"
content="text/html; charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:smarttagtype
namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName">
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
pre
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="Section1"></div>
</o:smarttagtype></blockquote>
<br>
<blockquote cite="mid:201006171501.o5HF1Yep016140@mail.debsinc.com"
type="cite"><o:smarttagtype
namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName">
<div class="Section1">
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span
style="font-size: 10pt; font-family: Arial; color: navy;">Being a
“PERL Weenie” I don’t
delve into regular expressions any more than I have to. That caveat
given,
these “changes” produced the desired (and correct?) testing results<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" color="black" face="Helvetica"><span
style="font-size: 12pt; font-family: Helvetica;">exten =>
1234,n,Set(test=${REGEX("foo"
${footest})})<br>
exten => 1234,n,verbose(test returned ${test})<br>
returns 1<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" color="black" face="Helvetica"><span
style="font-size: 12pt; font-family: Helvetica;">exten =>
1234,n,Set(test=${REGEX("fob"
${footest})})<br>
exten => 1234,n,verbose(test returned ${test})<br>
returns 0</span></font><font size="2" color="navy" face="Arial"><span
style="font-size: 10pt; font-family: Arial; color: navy;"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" color="black" face="Helvetica"><span
style="font-size: 12pt; font-family: Helvetica;"><o:p> </o:p></span></font></p>
</div>
</o:smarttagtype></blockquote>
<br>
</body>
</html>