3 Replies Latest reply on Oct 2, 2009 4:29 AM by R V

    regular expression in compliance rule

      i'm trying to write a compliance rule that checks the hostname

      valid hostnames for my rules would be




      meaning that the central "crg" part should be present with 2 alpha and 1 num in before and everything after

      so my rule would be like

      ??TARGET.HOST?? matches "[a-zA-Z][a-zA-Z][0-9][cC][rR][gG]*"

      but this does not seems to work as intended

      so i tried a more general

      ??TARGET.HOST?? matches "??[0-9][cC][rR][gG]*"

      but i obtained a "dangling ? character" error