in reply to reg exp
Your specification seems not to be clear ... however you should try to replace
bynext if ($username =~ /ipw\.a^a-ma-z*/);
That way names like "ipw.ammmmawert" would be skipped, but "ipw.anawert" wouldn't.next if ($username =~ /ipw\.a[a-m][a-z]*/);
HTH, Rata
PS.: PLEASE work on your formatting!
update: removed one small ^ (with a big effect)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |