CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Regular Expressions: Re: [Stefanik] Match characters in middle and end string: Edit Log



Stefanik
User

Jan 10, 2013, 4:43 AM


Views: 13939
Re: [Stefanik] Match characters in middle and end string

I modify the regexp, and now works:

Quote
if ($qpar =~ (/^.*SUB:.*\;$/m)){print $qpar;}



What's the difference between "\w" and "." ?

Both of them represent any alphanumeric character?


(This post was edited by Stefanik on Jan 10, 2013, 5:05 AM)


Edit Log:
Post edited by Stefanik (User) on Jan 10, 2013, 5:05 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives