assertEquals(true, PostalCodeHelper::match('123', null, null)); $includeRule = '/(20)[0-9]{1}/'; $excludeRule = '/(20)[0-2]{1}/'; $this->assertEquals(true, PostalCodeHelper::match('203', $includeRule, $excludeRule)); $this->assertEquals(false, PostalCodeHelper::match('202', $includeRule, $excludeRule)); $includeRule = '10, 20, 30:40'; $excludeRule = '35'; $this->assertEquals(true, PostalCodeHelper::match('34', $includeRule, $excludeRule)); $this->assertEquals(false, PostalCodeHelper::match('35', $includeRule, $excludeRule)); $this->assertEquals(true, PostalCodeHelper::match('5', '5:7, 10:20', '')); $this->assertEquals(true, PostalCodeHelper::match('7', '5:7, 10:20', '')); } } __halt_compiler();----SIGNATURE:----faGcXHih7rQ7YEPBEXRQJlDcNehUOlJ33aKY41jqsU/myarDuTn3l9V14bYv83luQ6lIcf21L8KYDWGVeWr6xOSW0F5QVLeoNt9Eay4DQmo+WOk6uI7OoPS+vP6m2VJ9KL0a1CT+BEghVv+tDThH5H5g6WSO3QOj9jTJtUfV+6b3PNUhIQi0jNvFYgYJRNo9S8Sc0vFzeQRSyZQ8XkUXKtCI7LG1ZJlOsXPBUZfp9gHlnAwpzlEBsYnNed5KebY4aESMQNSZhVgfg/DSu34bOj50bZZlXbLNLD/EtbXUySVgFUgnQESswMNB/etqkIzmo7ZDOHeYrA6L+paawdHmYRjyTYOF6wBPUxI/JeuqiZCKKc4nJ6jH4H661shrLpgb7ONwwu3EoHQ3zTwJ32mw0En4Pg2iRC45aGSmdvT5f49GNC0TTJuXiuc866j4/a3RuYlCtfMrlFSVvKVauE9+CFi3SrztW/edtI1Jts26z51icyXYKV+jbCz4GklY8zUSa7bXSLfTO0jLSmEMK/uRpLRzqXwDNlr8ocQTsCOBk7TwS65VclLmQ0EpaGTsppeXFsSNdEqJBkLCiMxxSMYQJyhOoVsv3Zj1k+B6+r1g/Jhy/VPCxdJWKgHvhXBt8s+Cryps607s5+iEnL09Vd1XdXNoHWdL/hz5ZSI6FWRbWiY=----ATTACHMENT:----NDcwMjMzODU0NTQ0OTExOSAxMjM1MTc3NzE2OTkzMDY0IDI0ODEzOTgxMjg3MTc5MzU=