Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FedEX longer tracking ids #8

Open
mgtremaine opened this issue Dec 20, 2019 · 0 comments
Open

FedEX longer tracking ids #8

mgtremaine opened this issue Dec 20, 2019 · 0 comments

Comments

@mgtremaine
Copy link

FedEx looks like they added another 12 digits ala

962208503000904212140077878994XXXX

I just hacked the ending match to expand it 3 OR 15 digits.. Won't work for spaces but I was already trimming them. Thought I'd mentioned it here.

            //FEDEX - FEDERAL EXPRESS
            [
                    'url'=>'http://www.fedex.com/Tracking?language=english&cntry_code=us&tracknumbers=',
                    'reg'=>'/\b(((96\d\d|6\d)\d{3} ?\d{4}|96\d{2}|\d{4}) ?\d{4} ?\d{4}( ?\d{3}| ?\d{15})?)\b/i'
            ],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant