in reply to Re: Re: regex matching problem
in thread regex matching problem

The $ needs to be backslashed, so it isn't parsed as a variable. Then it works. I didn't expect variable interpolation in a character class. Oops.

The PerlMonk tr/// Advocate

Replies are listed 'Best First'.
Re: Re^3: regex matching problem
by geektron (Curate) on Jan 20, 2004 at 21:17 UTC
    ah. i'll try it on the upcoming revision of the regex.

    i discovered that "product numbers" in the data files can also look like this: 4444-NC, 3434-43, etc.

    my regex-fu was never that great. it's sure gonna get a workout.