Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Regex Question

by frozenwithjoy (Priest)
on Nov 26, 2012 at 05:43 UTC ( #1005562=note: print w/replies, xml ) Need Help??

in reply to Regex Question

I definitely recommend taking an in-depth look at perlretut.

For your current issue, I would use a regex that matches the beginning of a string (^) followed by 2 of any character (.{2}) and then an a:


Replies are listed 'Best First'.
Re^2: Regex Question
by shealyw2 (Initiate) on Nov 26, 2012 at 06:13 UTC
    Thank you, that just made all the other stuff i had read click. Also thanks for the link, always looking for new information to inhale.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1005562]
[shmem]: erix: you are utterly mistaken in marking that site as "pro-russian".
[erix]: how do you mean? the bear, explanations of Putin's "election", the fearsome new russian weaponry. I came across them immediately. Just coincidence?
[shmem]: No, not coincidence - prejudice and bias
[shmem]: your scanner is pre-loaded ;-)

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2018-03-19 21:08 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (246 votes). Check out past polls.