16 Replies Latest reply on Apr 30, 2012 10:52 AM by netlogix

    Cirrus Regex pattern for ignoring blank lines with whitespaces


      Our ASA config change reports are running too long since whenever we make changes through ASDM, it introduces several blank lines. Most often the entire configuration file is displayed as Config change, even though the changes were only on few lines.

      The inbuilt regex for matching blank lines doesn't match this since there are up to 15 blank spaces in the in the empty lines whereas the regex just matches for line with no character.

      I tried several regexes including the ones below but they are unable to ignore blank line with space.

      ^[ \t]+$


      ^[ \t][ \t]*$



      But none of these seems to match. What would be the correct regex for ignoring blank lines with whitespaces? I am using NCM 6.0