Even if you cannot find a way to use the regular-expressions in Regexp::Common directly, by all means go to them as a source of authoritative expressions that work ... to be "cabbaged" in your source-code as needed.
Comment on Re: How to grep matching IP address from a log file?