This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Problem with regex matching a text block

Hello all,

I'm trying to match the following in my configs, but it is not matching in NCM.  Through other regex tests, it does match.

tcp-mss {

            ipsec-vpn {

                mss 1360;

            }

        }

Using this regex: ^tcp-mss.*\n.*ipsec-vpn.*\n.*mss 1360;\n.*\n.*}

Any thoughts?