in reply to Re: Re: regex issue
in thread regex issue
should do the trick. If no one else ever touches the file, you can get away with eliminating with \s* on either side, but I figure they don't hurt, on the off chance someone brings the data file into an editor at some point.$found = 1 if /^\s*\Q$student\E\s+\Q$studentAge\E\s*$/
|
|---|