mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
prevent raising of FutureWarning in regex.
This commit is contained in:
@@ -23,7 +23,7 @@ from sphinx.util import logging
|
||||
if TYPE_CHECKING:
|
||||
from typing import Generator # NOQA
|
||||
|
||||
symbols_re = re.compile(r'([!--/:-@\[-`{-~])') # symbols without dot(0x2e)
|
||||
symbols_re = re.compile(r'([!-\-/:-@\[-`{-~])') # symbols without dot(0x2e)
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user