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: [FishMonger] Help regarding regex: Edit Log



Jeff29
Novice

Dec 14, 2010, 6:13 PM


Views: 7453
Re: [FishMonger] Help regarding regex

Yes,actually there is more data before,there are couple of lines before ... ... branch from,does that make a difference?
I keep getting the following message and incorrect output when I use the below regex

Code
~ /branch from (.*\/.*)(?=#\d+,)?#(\d+)$/;"


Code
Quantifier unexpected on zero-length expression before HERE mark in regex m/branch from (.*/.*)(?=#\d+,)?#(\d+)$ << HERE / at perl.pl



(This post was edited by Jeff29 on Dec 14, 2010, 6:14 PM)


Edit Log:
Post edited by Jeff29 (Novice) on Dec 14, 2010, 6:13 PM
Post edited by Jeff29 (Novice) on Dec 14, 2010, 6:14 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