CompanyDirectory module - Regex in parameter name=
Posted: Tue Feb 21, 2017 12:23 am
Hi. I'm running CMS Made Simple 2.1.6. PHP version is 5.5.38 I am running CompanyDirectory module v1.23.3 / CGExtension v1.53.17 / CGSimpleSmarty v2.1.6 / CGSmartImage v1.21.5 / JQueryTools v1.3.9
I am trying to make use of the CompanyDirectory optional parameter name="" as discussed in the module help:
(optional) name="" - Applicable only to the default (summary) action. this parameter allows filtering companies by their name. Wildcard characters are allowed. i.e: name="a*". Additionally, regular expressions can be specified by prefixing the value with ::. i.e: name="::[0-9].*"
I am able to make name="a*" work but I am unable to make use of regular expression such as name="::[a-b].*" to signify company names starting with "a" or "b".
Could you point me to the right direction as to how the regular expression is used in this parameter. Thanks very much.
I am trying to make use of the CompanyDirectory optional parameter name="" as discussed in the module help:
(optional) name="" - Applicable only to the default (summary) action. this parameter allows filtering companies by their name. Wildcard characters are allowed. i.e: name="a*". Additionally, regular expressions can be specified by prefixing the value with ::. i.e: name="::[0-9].*"
I am able to make name="a*" work but I am unable to make use of regular expression such as name="::[a-b].*" to signify company names starting with "a" or "b".
Could you point me to the right direction as to how the regular expression is used in this parameter. Thanks very much.