On Jan 25, John Edwards said: >Your regex should have the . escaped. Currently it is matching on either a >number or *any character* between the a and z. Although this works, it may >bite you if you have a line like this...
Regex metacharacters all lose their meaning inside a character class. [.|*+] matches a ., a |, a *, or a +. Character classes have their own set of metacharacters. -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ ** Look for "Regular Expressions in Perl" published by Manning, in 2002 ** <stu> what does y/// stand for? <tenderpuss> why, yansliterate of course. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]