Skip to content

3rd level domain with numbers at 2nd level = "invalid $domain syntax" #69

@Philosoft

Description

@Philosoft

Due to regexp here https://github.com/regru/php-whois/blob/master/src/Phois/Whois/Whois.php#L23

  • example.com -> passed
  • m.example3000.com -> invalid $domain syntax

Here is online demonstration https://3v4l.org/KdAMn

Why there are no numbers allowed in 2nd level domain?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions