hints: make default regex ignore trailing whitespace

This commit is contained in:
alex-huff
2025-09-28 11:54:44 -05:00
parent b6f9080486
commit a1e63ee87c

View File

@@ -15,7 +15,7 @@ from kitty.utils import get_editor, resolve_custom_file
from ..tui.handler import result_handler
DEFAULT_REGEX = r'(?m)^\s*(.+)\s*$'
DEFAULT_REGEX = r'(?m)^\s*(.+?)\s*$'
def load_custom_processor(customize_processing: str) -> Any:
if customize_processing.startswith('::import::'):