Is anyone aware of how to match the newline character in NCM policy regular 
expressions? I am trying to match a Cisco router-style stanza such as:

!

router ospf 1
 log-adjacency-changes
 network 1.1.1.1 area 0

!

I cannot figure out how to match a newline (either as some combination of \r\n, 
just \n, or even [[:space:]]). PCRE-style /xyz/m doesn't seem to work either. 
If anybody has some experience with matching multiple lines in NCM policies, 
insight would be much appreciated.

Regards,

Benjamin Howell

---
To unsubscribe from spectrum, send email to [email protected] with the body: 
unsubscribe spectrum [email protected]

Reply via email to