Allow using boolean operators when matching windows or tabs

This commit is contained in:
Kovid Goyal
2022-04-12 19:55:20 +05:30
parent 11bc1b100c
commit ade38870a0
7 changed files with 103 additions and 84 deletions

View File

@@ -151,7 +151,7 @@ def doc(x: str) -> str:
@role
def ref(x: str) -> str:
return re.sub(r'\s*<.+?>', '', x)
return re.sub(r'\s*<\S+?>', '', x)
OptionSpecSeq = List[Union[str, OptionDict]]