http://www.perlmonks.org?node_id=950131


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.