I want to get the file names of all "EDI" files from a certain directory. I do not want "ENT" (or encrypted) file names. Example: The directory contains: a001.edi a002.edi a003.edi.ent a004.EDI After getting the file name in $_ I did the following match: if (/edi\b/i) { # thinking I would match file names 1, 2, and 4. Instead I matched on all. Wasn't \b supposed to help me out here? Or does Perl consider "." in this case a word boundary? Any help much appreciated. J
- Re: matching question (real newbie...not like you fak... Stout, Joel R
- Re: matching question (real newbie...not like yo... John Joseph Trammell