in reply to "Complete match" regexes
while (<>) { if ( /^\w{5}\s\w{4}$/ ) { print "This is a 5-letter word followed by a four-letter word\n"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: "Complete match" regexes
by japhy (Canon) on Feb 02, 2001 at 20:42 UTC | |
|
Re: Re: "Complete match" regexes
by $code or die (Deacon) on Feb 02, 2001 at 20:47 UTC |