On Tue, Nov 18, 2008 at 07:19, Mr. Shawn H. Corey <[EMAIL PROTECTED]> wrote: snip > Inside the [] the meta-character loose their meaning. Only ^ and - have > special meaning. You have to use | instead. snip
You missed \, ], and the regex delimiter (default /, but could be nearly anything). Also, certain constructs have special meaning so \p{IsAlpha}, \x{ABCD}, [:space:], etc also have special meaning in a character class. -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/