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 16, 2013, 2:02 PM


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

I try the solution but it doesn't work.
Seems regex continues to match the "\n"

It works if I write:

Code
 
/SUB.*[^;]\n/m



(This post was edited by Stefanik on Jan 16, 2013, 2:16 PM)


Edit Log:
Post edited by Stefanik (User) on Jan 16, 2013, 2:08 PM
Post edited by Stefanik (User) on Jan 16, 2013, 2:15 PM
Post edited by Stefanik (User) on Jan 16, 2013, 2:16 PM


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

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