0

I have the following regular expression: <!.*->

It matches text A but not text B. Why is that? The only difference to me is that text B is a block.

text A:

<!-- name of register file -->

text B:

<!--  codes
        ''   - no level
        SITE - site level 
        ACCT - acct level 
        PLCY - policy level 
-->

I am using this website to test: http://regexpal.com/.

Paolo
  • 1,557
  • 3
  • 18
  • 28

0 Answers0