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: [rovf] Match characters in middle and end string: Edit Log



Stefanik
User

Jan 12, 2013, 7:22 AM


Views: 15148
Re: [rovf] Match characters in middle and end string

The new code:

Code
if ($qpar =~ (/SUB:.*?[^;]$/m)){print(Dumper($qpar),"\n");}


here the new output:

Code
$VAR1 = 'SET:TESTSUB:TRANSID,t1:NUM,458:PARAMETERS,other; 
';

$VAR1 = 'GET:TESTSUB:TRANSID,t2:
';

$VAR1 = 'SET:TESTSUB:TRANSID,t3:NUM,458:PARAMETERS,other;NO
';



(This post was edited by Stefanik on Jan 12, 2013, 7:27 AM)


Edit Log:
Post edited by Stefanik (User) on Jan 12, 2013, 7:24 AM
Post edited by Stefanik (User) on Jan 12, 2013, 7:26 AM
Post edited by Stefanik (User) on Jan 12, 2013, 7:27 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