if(preg_match("/^\s*\[([^\]]*)\].*[\r\n]\$/", $line))and later, the same regex.
I'm not sure about the [\r\n] on the end of the line. My copy of "the regex coach" does not let me match a typical section header against it.
Could somebody (one of the authors, perhaps?) comment on this regex and on any other reasons why this code doesn't recognize ANY of my section headers in brackets?
I've looked at all the simple things.... My config files are very basic unix text files.
Thanks, </edg> _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
