<div dir="ltr">FYI, Nova did use regex <a href="https://github.com/openstack/nova/blob/master/nova/db/sqlalchemy/api.py#L2408">https://github.com/openstack/nova/blob/master/nova/db/sqlalchemy/api.py#L2408</a></div><div class="gmail_extra"><br><div class="gmail_quote">2017-10-27 11:35 GMT+08:00 Matt Riedemann <span dir="ltr"><<a href="mailto:mriedemos@gmail.com" target="_blank">mriedemos@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 10/26/2017 9:54 PM, Tony Breeds wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Can you use RLIKE/REGEX? or is that too MySQL specific ?<br>
</blockquote>
<br></span>
I thought about that, and my gut response is 'no' because even if it does work for mysql, I'm assuming regex pattern matching for postgresql is different. And then you have different API behavior between clouds based on the backend database they are using, and now we've opened that whole can of worms again.<div class="HOEnZb"><div class="h5"><br>
<br>
-- <br>
<br>
Thanks,<br>
<br>
Matt<br>
<br>
______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.op<wbr>enstack.org?subject:unsubscrib<wbr>e</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k-dev</a><br>
</div></div></blockquote></div><br></div>