in reply to Re^3: newline in unix
in thread newline in unix

Sorry, I'm a forum retard.

This works:


 if (/CONNAME\(([\d.]+)\)[\s.]*CURRENT[\s.]*/is) {
 print $&;} 
 


This does not:

 if (/CONNAME\((.*\..*\..*\..*)\)\[\s.\]*CURRENT\[\s.\]*CHL/is) {
 print $&;}