diff options
author | Jonas Smedegaard <dr@jones.dk> | 2021-06-04 16:15:33 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2021-06-04 16:15:33 +0200 |
commit | 4cab562b2af2e436f9093d14153969639acf7e73 (patch) | |
tree | 11c9a70c8af4b53424ecdaa0923a50932407b2b7 | |
parent | 37cebd9636d909cee6369b9471a9ea8703fbe167 (diff) |
fix relax inline hint parsing
-rwxr-xr-x | bin/mkdocs-prep.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mkdocs-prep.pl b/bin/mkdocs-prep.pl index fdb4c30..e452e0b 100755 --- a/bin/mkdocs-prep.pl +++ b/bin/mkdocs-prep.pl @@ -60,7 +60,7 @@ my $content = path($infile)->slurp_utf8; $content =~ s/^#+\s*Special strings\s*\n((?:\n|[^#\n][^\n]*\n)*)//m; my $section = $1 || ''; my %defaults; -while ( $section =~ /^(\w+)\h*:\h*(\w+(?:\h+\w+)*)/mg ) { +while ( $section =~ /^(\w+)\h*:\h*(\w\S*(?:\h+\S+)*)/mg ) { my $token = $1; my $string = $2; |