Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^17: Comparing 2 different-sized strings

by BrowserUk (Pope)
on Aug 18, 2013 at 20:23 UTC ( #1049942=note: print w/replies, xml ) Need Help??

in reply to Re^16: Comparing 2 different-sized strings
in thread Comparing 2 different-sized strings

Thank you, but does this incorporate both $nee1 and $nee2 in this case where there are 2 sequences to search for?

You said:

$nee1 = AGGA $nee2 = CGCCAC #What I want is the following in regular expression: $hay =~ /($nee1)T[ATGC]($nee2)/

I used:

my $nee = 'AGGATACGCCAC'; ## $nee1 ^^^^ ## T? ^^ ## $nee2 ^^^^^^

What do you think the answer to your question is?

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^18: Comparing 2 different-sized strings
by AdrianJ217 (Novice) on Aug 18, 2013 at 20:28 UTC
    Yeah, got it. Thank you!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1049942]
[karlgoethebier]: Listen and compare
[shmem]: karlgoethebier: es ist theologisch umstritten, ob jesus an christi himmelfahrt tatsächlich besoffen und mit bollerwagen zu seinem vater aufgebrochen ist
[karlgoethebier]: shmem: Ja ischweis
[karlgoethebier]: shmem: Vielleicht hat er in den Bollerwagen gebrochen?

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2017-05-25 12:33 GMT
Find Nodes?
    Voting Booth?