Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^3: More complicated regular expression?

by VinsWorldcom (Vicar)
on Jan 26, 2012 at 15:35 UTC ( #950131=note: print w/replies, xml ) Need Help??

in reply to Re^2: More complicated regular expression?
in thread More complicated regular expression?

And I bet you're getting a space in front of the 74. Your "\d" at the end is matching a single digit character and since it's at the end of your parenthesis grabbing match, it's taking the last character - excluding it from your match.

Use JavaFan's regex above and all will be well.

  • Comment on Re^3: More complicated regular expression?

Replies are listed 'Best First'.
Re^4: More complicated regular expression?
by jaldama (Acolyte) on Jan 26, 2012 at 16:07 UTC
    You're right, and JavaFan's code worked perfect. Thanks a lot

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://950131]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2016-10-22 23:47 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (299 votes). Check out past polls.