Commit f5249d8da77e19e3bcc59c616b26dd74b74ae9ca
vimd2h.py: exclude backtick from PAT_WORDCHAR
Things like " (`keys` ..." (backquote after paren) were not recognized
Author: Alin Mr
Author date (UTC): 2024-03-19 04:41
Committer name: Alin Mr
Committer date (UTC): 2024-03-19 04:51
Parent(s): 7f54c0178c3cad26441e2f5804c927eb56b5b783
Signing key:
Tree: fb1f107feef59d3e84bea2bcacbc3c864defcc90
File vimd2h.py changed (mode: 100755) (index e2136b3..ba69ff8) |
... |
... |
except: |
17 |
17 |
RE_TAGLINE = re.compile(r'(\S+)\s+(\S+)') |
RE_TAGLINE = re.compile(r'(\S+)\s+(\S+)') |
18 |
18 |
RE_LINE1_HELP = re.compile(r'^\*\S+\*\s.*') |
RE_LINE1_HELP = re.compile(r'^\*\S+\*\s.*') |
19 |
19 |
|
|
20 |
|
PAT_WORDCHAR = '[!#-)+-{}~\xC0-\xFF]' |
|
|
20 |
|
# grab an ASCII table and carefully note what the embedded X-Y ranges exclude |
|
21 |
|
PAT_WORDCHAR = '[!#-)+-_a-{}~\xC0-\xFF]' |
21 |
22 |
|
|
22 |
23 |
PAT_HEADER = r'(^.*~$)' |
PAT_HEADER = r'(^.*~$)' |
23 |
24 |
PAT_GRAPHIC = r'(^.* `$)' |
PAT_GRAPHIC = r'(^.* `$)' |