vendor/guzzlehttp/psr7/src/Rfc3986.php

25 lines · 490 bytes

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