use standard capture variables instead of ${^MATCH}
compatible with 5.8
Merge pull request #18 from haarg/compatible

Be compatible with 5.8