On 4/3/10 2:33 PM, pk wrote: > Is the =~ operator supposed to recognize \n in patterns?
No. "\n" matching a newline is not part of regular expression syntax. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/