in reply to regex issue
However, since you anchor the search with the ^ at the start and the $ at the end, and you're only looking for the name, it can't match.
You could match with /^\Q$student\E\s+\d+$/ - Student name, one or more blanks, one or more digits.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: regex issue
by Anonymous Monk on Feb 27, 2004 at 21:35 UTC | |
by optimist (Beadle) on Feb 28, 2004 at 00:46 UTC |