in reply to Re^4: Tweak for my Perl Regex that screens for digits only
in thread Tweak for my Perl Regex that screens for digits only
will truncate $text_field to 100 chars. Or you could have your program just abort if it received an oversized field.substr($text_field, 100) = '' if length($text_field) > 100;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Tweak for my Perl Regex that screens for digits only
by hackermike (Novice) on Jan 26, 2006 at 07:48 UTC | |
by Roy Johnson (Monsignor) on Jan 26, 2006 at 15:52 UTC | |
by hackermike (Novice) on Jan 26, 2006 at 18:56 UTC |