mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-06 09:15:57 +02:00
hints: make default regex ignore trailing whitespace
This commit is contained in:
@@ -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::'):
|
||||
|
||||
Reference in New Issue
Block a user