<div dir="ltr">Never mind, seems setting matching operatorĀ to regex is the wrong thing to do.<div><br></div><div>Sorry!</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 3 Oct 2019 at 11:35, Mark Farmer <<a href="mailto:farmorg@gmail.com">farmorg@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi everyone<div><br></div><div>I'm having a problem with my rule not matching, I'm trying to remove theĀ + at the beginning of the input DID using a regex rule:</div><div><br></div><div>Matching exp:</div><div>^\+(44[1-9][0-9]+$)</div><div><br></div><div>Substitution exp:</div><div>^\+(.*)$</div><div><br></div><div>Replacement exp:</div><div>\1</div><div><br></div><div>But dp_translate() never matches.</div><div><br></div><div><div>mi dp_translate input=+441205875104 dpid=1</div><div>ERROR: command 'dp_translate' returned: 404: No translation</div><div><br></div><div>Where am I going wrong?</div></div><div><br></div><div>Thanks</div><div>Mark.</div><div><br></div></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Mark Farmer<br><a href="mailto:farmorg@gmail.com" target="_blank">farmorg@gmail.com</a></div>