Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Molecular weight of Protein

by 2teez (Priest)
on Aug 07, 2013 at 05:40 UTC ( #1048248=note: print w/replies, xml ) Need Help??


in reply to Molecular weight of Protein

You could also use: "Positive lookahead"

$_ = '>gi|226694487|sp|Q1DF98.2|ATPF_MYXXD RecName: Full=ATP synthase +subunit b; AltName: Full=ATP synthase F(0) sector subunit b; AltName: + Full=ATPase subunit I; AltName: Full=F-type ATPase subunit b; Short= +F-ATPase subunit b'; print $1 if/(.+?)(?= RecName)/;
NOTE: Am only showing the use of positive lookahead using the OP.

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1048248]
help
Chatterbox?
[karlgoethebier]: sometimes rereading manages is helpful ;-) at least for me...
[Eily]: hello people \o/
[karlgoethebier]: manpages..
[Eily]: and non-people and NodeReaper
[Discipulus]: you so kid to greet non people..;=)
Discipulus kind not kid..
[Corion]: The bots bow in response
[Discipulus]: so karlgoethebier, what this idiom is and where i can read about it? i tried to deparse and gives error..;=(
[karlgoethebier]: Eily: non-people == persone non grata?

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2017-07-21 08:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (319 votes). Check out past polls.