Rfc3986.php 490 B

12345678910111213141516171819202122232425
  1. <?php
  2. declare(strict_types=1);
  3. namespace GuzzleHttp\Psr7;
  4. /**
  5. * @internal
  6. */
  7. final class Rfc3986
  8. {
  9. /**
  10. * Sub-delims for use in a regex.
  11. *
  12. * @see https://datatracker.ietf.org/doc/html/rfc3986#section-2.2
  13. */
  14. public const CHAR_SUB_DELIMS = '!\$&\'\(\)\*\+,;=';
  15. /**
  16. * Unreserved characters for use in a regex.
  17. *
  18. * @see https://datatracker.ietf.org/doc/html/rfc3986#section-2.3
  19. */
  20. public const CHAR_UNRESERVED = 'a-zA-Z0-9_\-\.~';
  21. }