<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Greetings,<div class=""><br class=""></div><div class="">I've been working on creating some new policy rules that will require regular expression matching on path names. As a crutch to help me along, I've used the mmfind command to do some searches and used its policy output as a model. Interestingly, it creates REGEX() functions with an undocumented parameter. For example, the following REGEX expression was created in the WHERE clause by mmfind when searching for a pathname pattern:</div><div class=""><br class=""></div><div class="">REGEX(PATH_NAME, '*/xy_survey_*/name/*.tif','f')</div><div class=""><br class=""></div><div class="">The Scale policy documentation for REGEX only mentions 2 parameters, not 3:</div><div class=""><br class=""></div><div class="">REGEX(String,'Pattern')<br class="">Returns TRUE if the pattern matches, FALSE if it does not. Pattern is a Posix extended regular expression.</div><div class=""><br class=""></div><div class="">(The above is from <a href="https://www.ibm.com/support/knowledgecenter/STXKQY_5.0.2/com.ibm.spectrum.scale.v5r02.doc/bl1adv_stringfcts.htm" class="">https://www.ibm.com/support/knowledgecenter/STXKQY_5.0.2/com.ibm.spectrum.scale.v5r02.doc/bl1adv_stringfcts.htm</a>)</div><div class=""><br class=""></div><div class="">Anyone know what that 3rd parameter is, what values are allowed there, and what they mean? My assumption is that it's some sort of selector for type of pattern matching engine, because that pattern (2nd parameter) isn't being handled as a standard regex (e.g. the *'s are treated as wildcards, not zero-or-more repeats).</div><div class=""><br class=""></div><div class="">-- </div><div class=""><div class="">Todd E. Ruston</div><div class="">Information Systems Manager</div><div class="">Monterey Bay Aquarium Research Institute (MBARI)</div><div class="">7700 Sandholdt Road, Moss Landing, CA, 95039</div><div class="">Phone 831-775-1997      Fax 831-775-1652      <a href="http://www.mbari.org" class="">http://www.mbari.org</a></div></div><div class=""><br class=""></div></body></html>