3
3
; ; Author: Bob Weiner
4
4
; ;
5
5
; ; Orig-Date: 21-Apr-24 at 22:41:13
6
- ; ; Last-Mod: 18-Jan-25 at 22:17:01 by Bob Weiner
6
+ ; ; Last-Mod: 18-Jan-25 at 23:45:34 by Bob Weiner
7
7
; ;
8
8
; ; SPDX-License-Identifier: GPL-3.0-or-later
9
9
; ;
@@ -458,7 +458,7 @@ non-# and non-whitespace characters.")
458
458
Group 4 is the optional 0-based column number." )
459
459
460
460
(defconst hywiki-word-with-optional-suffix-regexp
461
- (concat hywiki-word-regexp hywiki-word-section-regexp " ?"
461
+ (concat hywiki-word-regexp hywiki-word-section-regexp " ?? "
462
462
hywiki-word-line-and-column-numbers-regexp " ?" )
463
463
" Regexp for a HyWiki word with an optional #section, :Lline-num, :Ccol-num.
464
464
Section may not contain whitespace or square brackets. Use '-' to
@@ -485,7 +485,7 @@ Group 6 is any optional 0-based column number to jump to for any
485
485
file-based referents." )
486
486
487
487
(defconst hywiki-word-with-optional-suffix-exact-regexp
488
- (concat " \\ `" hywiki-word-regexp " \\ (#[^][\n\r\f ]+\\ )?"
488
+ (concat " \\ `" hywiki-word-regexp " \\ (#[^][\n\r\f ]+\\ )?? "
489
489
hywiki-word-line-and-column-numbers-regexp " ?\\ '" )
490
490
" Exact match regexp for a HyWiki word with an optional #section.
491
491
The section may contain spaces or tabs but not square brackets;
@@ -2246,8 +2246,7 @@ regexps of wikiwords, if the hash table is out-of-date."
2246
2246
(delq nil (nconc wikiword-sublist
2247
2247
(mapcar #'hywiki-get-plural-wikiword wikiword-sublist))))
2248
2248
(concat (regexp-opt wikiword-sublist 'words )
2249
- " \\ ("
2250
- hywiki-word-section-regexp " ?\\ )"
2249
+ " \\ (" hywiki-word-section-regexp " ??" hywiki-word-line-and-column-numbers-regexp " ?" " \\ )"
2251
2250
hywiki--buttonize-character-regexp))
2252
2251
(hypb:split-seq-into-sublists
2253
2252
(hash-map #'cdr hywiki--referent-hasht) 25 )))
0 commit comments